]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/locale_test.rb
Reset the locale after tests that may change it
[rails.git] / test / integration / locale_test.rb
index fbc2aff0e8ea208923386fb4931a2323ec605776..94007cd3ceecb179bd4529d761c2f68fb0ddb9d5 100644 (file)
@@ -3,6 +3,14 @@ require "test_helper"
 class LocaleTest < ActionDispatch::IntegrationTest
   fixtures :users
 
+  def setup
+    I18n.locale = "en"
+  end
+
+  def teardown
+    I18n.locale = "en"
+  end
+
   def test_defaulting
     user = users(:second_public_user)