X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e5e6db8d0ea6884bddf7fe75280e32faa4725d3a..92a88941187db826b1885306698dcc115c6dbce9:/test/integration/user_creation_test.rb diff --git a/test/integration/user_creation_test.rb b/test/integration/user_creation_test.rb index 7f3e921f9..67fbea7ec 100644 --- a/test/integration/user_creation_test.rb +++ b/test/integration/user_creation_test.rb @@ -9,7 +9,7 @@ class UserCreationTest < ActionController::IntegrationTest def test_create_user_form I18n.available_locales.each do |locale| - get '/user/new', {}, {"HTTP_ACCEPT_LANGUAGE" => locale.to_s} + get_via_redirect '/user/new', {}, {"HTTP_ACCEPT_LANGUAGE" => locale.to_s} assert_response :success assert_template 'user/new' end