X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a0dc300840c236d6460c0641f8a9f47246815ad1..be0e33862fedbf02e52a9e126cac31dfb5775b43:/test/integration/client_applications_test.rb?ds=sidebyside 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