]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/issue_comments_controller_test.rb
Migrate UserBlocksController to use CanCanCan
[rails.git] / test / controllers / issue_comments_controller_test.rb
index 00c80f32cf4afd379bbcfe87310a7124e5f8117b..d9b4062c7a78601f3d25e0c5d72129b5e66e4e73 100644 (file)
@@ -10,6 +10,7 @@ class IssueCommentsControllerTest < ActionController::TestCase
     post :create, :params => { :issue_id => issue.id }
     assert_response :redirect
     assert_redirected_to root_path
+    assert_equal 0, issue.comments.length
   end
 
   def test_comment