Fix tests broken by r1243 (Redirect to issue page after creating a new issue).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1257 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -34,9 +34,9 @@ class IssuesTest < ActionController::IntegrationTest
|
||||
assert_kind_of Issue, issue
|
||||
|
||||
# check redirection
|
||||
assert_redirected_to "projects/ecookbook/issues"
|
||||
assert_redirected_to "issues/show"
|
||||
follow_redirect!
|
||||
assert assigns(:issues).include?(issue)
|
||||
assert_equal issue, assigns(:issue)
|
||||
|
||||
# check issue attributes
|
||||
assert_equal 'jsmith', issue.author.login
|
||||
|
||||
Reference in New Issue
Block a user