]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/issue_comments_controller_test.rb
Move user images to Active Storage with paperclip as a fallback
[rails.git] / test / controllers / issue_comments_controller_test.rb
index d9b4062c7a78601f3d25e0c5d72129b5e66e4e73..db08ca3cf61e36fa20a766254d5d0552c03ecdda 100644 (file)
@@ -9,7 +9,7 @@ class IssueCommentsControllerTest < ActionController::TestCase
 
     post :create, :params => { :issue_id => issue.id }
     assert_response :redirect
-    assert_redirected_to root_path
+    assert_redirected_to :controller => :errors, :action => :forbidden
     assert_equal 0, issue.comments.length
   end