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