]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_r...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Oct 2011 12:21:35 +0000 (12:21 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Oct 2011 12:21:35 +0000 (12:21 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7600 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_relation_test.rb

index bbbda548c306de17eab014d2913efbd550e19df6..780cc0c5b0beacd515f7f5c5fe894a465bdc8f9a 100644 (file)
@@ -43,7 +43,8 @@ class IssueRelationTest < ActiveSupport::TestCase
     from = Issue.find(1)
     to = Issue.find(2)
 
-    relation = IssueRelation.new :issue_from => from, :issue_to => to, :relation_type => IssueRelation::TYPE_FOLLOWS
+    relation = IssueRelation.new :issue_from => from, :issue_to => to,
+                                 :relation_type => IssueRelation::TYPE_FOLLOWS
     assert relation.save
     relation.reload
     assert_equal IssueRelation::TYPE_PRECEDES, relation.relation_type