1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Sorting Of Available Locales

This commit is contained in:
Vaibhav 2017-12-18 15:20:19 +05:30 committed by Mike Perham
parent 6ce47ef810
commit b4c330bbfa

View file

@ -90,9 +90,9 @@ class TestWebHelpers < Sidekiq::Test
obj = Helpers.new
expected = %w(
ar cs da de el en es fa fr he hi it ja
ko nb nl pl pt-br pt ru sv ta uk ur
ko nb nl pl pt pt-br ru sv ta uk ur
zh-cn zh-tw
)
assert_equal expected, obj.available_locales
assert_equal expected, obj.available_locales.sort
end
end