X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ef40b61ff40881966ae4280cfdcb9f92965e9d10..4408416b62a67bab980f9fdec3e4be04a7680039:/test/integration/client_application_test.rb?ds=sidebyside diff --git a/test/integration/client_application_test.rb b/test/integration/client_application_test.rb index 8e08cbda0..80da36deb 100644 --- a/test/integration/client_application_test.rb +++ b/test/integration/client_application_test.rb @@ -12,7 +12,7 @@ class ClientApplicationTest < ActionController::IntegrationTest assert_redirected_to "controller" => "user", "action" => "login", "cookie_test" => "true" follow_redirect! assert_response :success - post '/login', {'user[email]' => "test@example.com", 'user[password]' => "test", :referer => '/user/test2'} + post '/login', {'username' => "test@example.com", 'password' => "test", :referer => '/user/test2'} assert_response :redirect follow_redirect! assert_response :success