X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b816bad72615a3112ae39c26c0afcc699f16cb9d..bcf066ff9c42c7b868de15e2ae251986ab19fe61:/test/integration/user_blocks_test.rb diff --git a/test/integration/user_blocks_test.rb b/test/integration/user_blocks_test.rb index 5147733e3..4e7315ede 100644 --- a/test/integration/user_blocks_test.rb +++ b/test/integration/user_blocks_test.rb @@ -38,6 +38,8 @@ class UserBlocksTest < ActionDispatch::IntegrationTest # revoke the ban get "/login" + assert_response :redirect + follow_redirect! assert_response :success post "/login", :params => { "username" => moderator.email, "password" => "test", :referer => "/user_blocks/#{block.id}/edit" } assert_response :redirect