]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_blocks_test.rb
Merge branch 'master' into openid
[rails.git] / test / integration / user_blocks_test.rb
index ecd1d37c5204fe0cc87acee8dcc3d31fa3bd415a..942a94302de8ec4195f2afdb46a0545aa3573af6 100644 (file)
@@ -42,7 +42,7 @@ class UserBlocksTest < ActionController::IntegrationTest
     assert_redirected_to "controller" => "user", "action" => "login", "cookie_test" => "true"
     follow_redirect!
     assert_response :success
-    post '/login', {'user[email]' => moderator.email, 'user[password]' => "test", :referer => "/blocks/#{block.id}/revoke"}
+    post '/login', {'username' => moderator.email, 'password' => "test", :referer => "/blocks/#{block.id}/revoke"}
     assert_response :redirect
     follow_redirect!
     assert_response :success