diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 11:19:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-10-13 11:19:12 +0000 |
commit | d5abb11c0ba26889c0e21c2d4b0feaf88ebec273 (patch) | |
tree | f9ebdbb6a8640887ecff025ceb2a6d4725da41ad /test | |
parent | 04ac60d891f8b974f6df1827a248b91a216d5238 (diff) | |
download | redmine-d5abb11c0ba26889c0e21c2d4b0feaf88ebec273.tar.gz redmine-d5abb11c0ba26889c0e21c2d4b0feaf88ebec273.zip |
code layout clean up test_should_close_duplicates of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10651 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/issue_test.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index fc5db6329..71505445f 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -839,11 +839,14 @@ class IssueTest < ActiveSupport::TestCase issue3 = 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) # And 3 is a dupe of 2 - IssueRelation.create!(:issue_from => issue3, :issue_to => issue2, :relation_type => IssueRelation::TYPE_DUPLICATES) + IssueRelation.create!(:issue_from => issue3, :issue_to => issue2, + :relation_type => IssueRelation::TYPE_DUPLICATES) # And 3 is a dupe of 1 (circular duplicates) - IssueRelation.create!(:issue_from => issue3, :issue_to => issue1, :relation_type => IssueRelation::TYPE_DUPLICATES) + IssueRelation.create!(:issue_from => issue3, :issue_to => issue1, + :relation_type => IssueRelation::TYPE_DUPLICATES) assert issue1.reload.duplicates.include?(issue2) |