diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 11:19:39 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 11:19:39 +0000 |
commit | 5ae73e3784e5180b2d6cdec222646f43f30245e2 (patch) | |
tree | 5876887234078f5756630aa4ba1df6903f860c9b /test | |
parent | d5abb11c0ba26889c0e21c2d4b0feaf88ebec273 (diff) | |
download | redmine-5ae73e3784e5180b2d6cdec222646f43f30245e2.tar.gz redmine-5ae73e3784e5180b2d6cdec222646f43f30245e2.zip |
code layout clean up test_should_not_close_duplicated_issue of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10652 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/issue_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 71505445f..b2cae13e8 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -864,7 +864,8 @@ class IssueTest < ActiveSupport::TestCase issue2 = Issue.generate! # 2 is a dupe of 1 - IssueRelation.create(:issue_from => issue2, :issue_to => issue1, :relation_type => IssueRelation::TYPE_DUPLICATES) + IssueRelation.create(:issue_from => issue2, :issue_to => issue1, + :relation_type => IssueRelation::TYPE_DUPLICATES) # 2 is a dup of 1 but 1 is not a duplicate of 2 assert !issue2.reload.duplicates.include?(issue1) |