X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5e407dfb34f47e6fbbbf3c11c1a8318256abb5cd..efd50cd529990069dc1ca95f66ec6f61471fe29d:/test/integration/client_applications_test.rb diff --git a/test/integration/client_applications_test.rb b/test/integration/client_applications_test.rb index c786b4f4a..b50a990c6 100644 --- a/test/integration/client_applications_test.rb +++ b/test/integration/client_applications_test.rb @@ -9,17 +9,17 @@ class ClientApplicationsTest < ActionDispatch::IntegrationTest get "/login" assert_response :redirect - assert_redirected_to "controller" => "user", "action" => "login", "cookie_test" => "true" + assert_redirected_to "controller" => "users", "action" => "login", "cookie_test" => "true" follow_redirect! assert_response :success post "/login", :params => { "username" => user.email, "password" => "test", :referer => "/user/#{ERB::Util.u(user.display_name)}" } assert_response :redirect follow_redirect! assert_response :success - assert_template "user/show" + assert_template "users/show" get "/user/#{ERB::Util.u(user.display_name)}/account" assert_response :success - assert_template "user/account" + assert_template "users/account" # check that the form to allow new client application creations exists assert_in_heading do