summaryrefslogtreecommitdiffstats
path: root/test/integration/issues_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/issues_test.rb')
-rw-r--r--test/integration/issues_test.rb4
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