X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/17f05fdb13cab3fc2f430c54ec7ad6557c53eeeb..43e12e7d02307ad92cc51ebd09f4e88a466168aa:/test/integration/user_blocks_test.rb diff --git a/test/integration/user_blocks_test.rb b/test/integration/user_blocks_test.rb index f0b9070d6..b4ca49022 100644 --- a/test/integration/user_blocks_test.rb +++ b/test/integration/user_blocks_test.rb @@ -37,6 +37,8 @@ class UserBlocksTest < ActionController::IntegrationTest assert_response :forbidden # revoke the ban + get '/login' + assert_response :success post '/login', {'user[email]' => moderator.email, 'user[password]' => "test", :referer => "/blocks/#{block.id}/revoke"} assert_response :redirect follow_redirect!