summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_relation_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-07 12:20:59 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-07 12:20:59 +0000
commit64a6f9583f243e1ac4b9915f7b474adbcb5ea173 (patch)
treef3181aabbaf5efc52dbb4a56e48e3744b2c7cb2c /test/unit/issue_relation_test.rb
parent64c0bdb501679af82ac997f4d29b931463586e28 (diff)
downloadredmine-64a6f9583f243e1ac4b9915f7b474adbcb5ea173.tar.gz
redmine-64a6f9583f243e1ac4b9915f7b474adbcb5ea173.zip
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
Diffstat (limited to 'test/unit/issue_relation_test.rb')
-rw-r--r--test/unit/issue_relation_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/issue_relation_test.rb b/test/unit/issue_relation_test.rb
index b6bea1df4..bbbda548c 100644
--- a/test/unit/issue_relation_test.rb
+++ b/test/unit/issue_relation_test.rb
@@ -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