X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3244635aa11878135a014cf2c9ec9177f8e9d0ba..7575f1ec0adfeadf750f9c5edacd2071a5765385:/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