X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/368ce0000d585a8bf04e6189c818577756e29c02..79207ee5948a11f920d90c9bdaba394bc4316115:/test/controllers/redactions_controller_test.rb diff --git a/test/controllers/redactions_controller_test.rb b/test/controllers/redactions_controller_test.rb index e2123f725..08f32d4d0 100644 --- a/test/controllers/redactions_controller_test.rb +++ b/test/controllers/redactions_controller_test.rb @@ -64,8 +64,7 @@ class RedactionsControllerTest < ActionController::TestCase session[:user] = create(:user).id get :new - assert_response :redirect - assert_redirected_to redactions_path + assert_response :forbidden end def test_create_moderator @@ -141,8 +140,7 @@ class RedactionsControllerTest < ActionController::TestCase session[:user] = create(:user).id get :edit, :params => { :id => create(:redaction).id } - assert_response :redirect - assert_redirected_to(redactions_path) + assert_response :forbidden end def test_update_moderator