diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:22:43 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:22:43 +0000 |
commit | 864d6d28803aabc5388aef8f32ed04de64d9c395 (patch) | |
tree | 14378d5c39a0cd791ad547b5c4032c768cd6a301 /test/unit/issue_relation_test.rb | |
parent | 33349c93db6f3c4c4c2518764917b5a8e39ea27b (diff) | |
download | redmine-864d6d28803aabc5388aef8f32ed04de64d9c395.tar.gz redmine-864d6d28803aabc5388aef8f32ed04de64d9c395.zip |
code layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_relation_test.rb')
-rw-r--r-- | test/unit/issue_relation_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/issue_relation_test.rb b/test/unit/issue_relation_test.rb index cd5ba6868..88e2377b5 100644 --- a/test/unit/issue_relation_test.rb +++ b/test/unit/issue_relation_test.rb @@ -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 |