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

test/unit/issue_relation_test.rb

index cd5ba686852192d46a58916f20589f19b00feee0..88e2377b520762f0236fdd5d1bb2ff77d62bfa91 100644 (file)
@@ -69,7 +69,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_PRECEDES
+    relation = IssueRelation.new :issue_from => from, :issue_to => to,
+                                 :relation_type => IssueRelation::TYPE_PRECEDES
     assert_equal IssueRelation::TYPE_PRECEDES, relation.relation_type_for(from)
     assert_equal IssueRelation::TYPE_FOLLOWS, relation.relation_type_for(to)
   end