X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7441f15b4fd59735ae00a16b47cfcf7eb99260a6..6213592a6a4e90df4008f6549bbea334cd19e816:/test/controllers/issue_comments_controller_test.rb?ds=inline diff --git a/test/controllers/issue_comments_controller_test.rb b/test/controllers/issue_comments_controller_test.rb index d9b4062c7..db08ca3cf 100644 --- a/test/controllers/issue_comments_controller_test.rb +++ b/test/controllers/issue_comments_controller_test.rb @@ -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