code layout clean up of test_create at test/unit/issue_relation_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7599 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-07 12:20:59 +00:00
parent 64c0bdb501
commit 64a6f9583f
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,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 relation.save
relation.reload
assert_equal IssueRelation::TYPE_PRECEDES, relation.relation_type