aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
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/template
parent4790e02e74b2b5b5ff2e2fa89d2ce7af4d5a1877 (diff)
downloadrails-bc94061156e52ec45fceec582e8400250cc022fb.tar.gz
rails-bc94061156e52ec45fceec582e8400250cc022fb.tar.bz2
rails-bc94061156e52ec45fceec582e8400250cc022fb.zip
Fix unsorted array comparison
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/render_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb
index c226e212b5..c7405d47de 100644
--- a/actionpack/test/template/render_test.rb
+++ b/actionpack/test/template/render_test.rb
@@ -11,7 +11,7 @@ module RenderTestCases
I18n.backend.store_translations 'da', {}
# Ensure original are still the same since we are reindexing view paths
- assert_equal ORIGINAL_LOCALES, I18n.available_locales
+ assert_equal ORIGINAL_LOCALES, I18n.available_locales.map(&:to_s).sort
end
def test_render_file