aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-01-31 10:56:16 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-01-31 10:56:16 -0800
commitbc94061156e52ec45fceec582e8400250cc022fb (patch)
treefc069558a9ebc14db435ece85de5b38ba1dd819a /actionpack/test/abstract_unit.rb
parent4790e02e74b2b5b5ff2e2fa89d2ce7af4d5a1877 (diff)
downloadrails-bc94061156e52ec45fceec582e8400250cc022fb.tar.gz
rails-bc94061156e52ec45fceec582e8400250cc022fb.tar.bz2
rails-bc94061156e52ec45fceec582e8400250cc022fb.zip
Fix unsorted array comparison
Diffstat (limited to 'actionpack/test/abstract_unit.rb')
-rw-r--r--actionpack/test/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index 4baebcb4d1..882d2cd6a8 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -34,7 +34,7 @@ ActionController::Base.session_store = nil
# Register danish language for testing
I18n.backend.store_translations 'da', {}
-ORIGINAL_LOCALES = I18n.available_locales
+ORIGINAL_LOCALES = I18n.available_locales.map(&:to_s).sort
FIXTURE_LOAD_PATH = File.join(File.dirname(__FILE__), 'fixtures')
ActionController::Base.view_paths = FIXTURE_LOAD_PATH