]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/issue_comments_controller_test.rb
Remove unnecessary comma from several translatable messages
[rails.git] / test / controllers / issue_comments_controller_test.rb
index 99d244ff1c2f94d8b1213a0bd8263669e101ff10..823d07776f7cf371d3d94ac3e626e37553264cb1 100644 (file)
@@ -8,7 +8,6 @@ class IssueCommentsControllerTest < ActionDispatch::IntegrationTest
     session_for(create(:user))
 
     post issue_comments_path(:issue_id => issue)
-    assert_response :redirect
     assert_redirected_to :controller => :errors, :action => :forbidden
     assert_equal 0, issue.comments.length
   end
@@ -20,7 +19,6 @@ class IssueCommentsControllerTest < ActionDispatch::IntegrationTest
     session_for(create(:administrator_user))
 
     post issue_comments_path(:issue_id => issue, :issue_comment => { :body => "test comment" })
-    assert_response :redirect
     assert_redirected_to issue
     assert_equal 1, issue.comments.length
   end