X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/21d60e359a6e972731e0385c51dd86536b7ea777..35fbcf28154b6f15f697018016fbabc952e018a5:/test/integration/locale_test.rb?ds=sidebyside diff --git a/test/integration/locale_test.rb b/test/integration/locale_test.rb index fbc2aff0e..94007cd3c 100644 --- a/test/integration/locale_test.rb +++ b/test/integration/locale_test.rb @@ -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)