diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-15 11:27:46 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-15 11:27:46 +0000 |
commit | 83061e9ca29ac224da3385f930508f89ad04a5bf (patch) | |
tree | d1623d078ba0799e96bbd7952853041c2c492840 /test/integration/issues_test.rb | |
parent | 451aa6ba4e2478fe7a914d8606c5eba5f53fb887 (diff) | |
download | redmine-83061e9ca29ac224da3385f930508f89ad04a5bf.tar.gz redmine-83061e9ca29ac224da3385f930508f89ad04a5bf.zip |
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
Diffstat (limited to 'test/integration/issues_test.rb')
-rw-r--r-- | test/integration/issues_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb index facd7c630..b9e21719c 100644 --- a/test/integration/issues_test.rb +++ b/test/integration/issues_test.rb @@ -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 |