projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the configured host name for user image URLs
[rails.git]
/
test
/
controllers
/
issue_comments_controller_test.rb
diff --git
a/test/controllers/issue_comments_controller_test.rb
b/test/controllers/issue_comments_controller_test.rb
index 00c80f32cf4afd379bbcfe87310a7124e5f8117b..db08ca3cf61e36fa20a766254d5d0552c03ecdda 100644
(file)
--- a/
test/controllers/issue_comments_controller_test.rb
+++ b/
test/controllers/issue_comments_controller_test.rb
@@
-9,7
+9,8
@@
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
def test_comment