X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dcb0369788b70b262845c601cad0a874b427725a..c441a4dc15f2de78e6c43a51a850b394a25aa5a9:/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