diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:22:07 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:22:07 +0000 |
commit | 33349c93db6f3c4c4c2518764917b5a8e39ea27b (patch) | |
tree | d9a7676dbc875eda055b1883f7a5eecc949ae714 /test/unit/issue_relation_test.rb | |
parent | ce7bd36a20c73189af1979c7dd3f19c06888aaa0 (diff) | |
download | redmine-33349c93db6f3c4c4c2518764917b5a8e39ea27b.tar.gz redmine-33349c93db6f3c4c4c2518764917b5a8e39ea27b.zip |
code layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_relation_test.rb')
-rw-r--r-- | test/unit/issue_relation_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/issue_relation_test.rb b/test/unit/issue_relation_test.rb index 780cc0c5b..cd5ba6868 100644 --- a/test/unit/issue_relation_test.rb +++ b/test/unit/issue_relation_test.rb @@ -56,7 +56,9 @@ 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, :delay => 'xx' + relation = IssueRelation.new :issue_from => from, :issue_to => to, + :relation_type => IssueRelation::TYPE_FOLLOWS, + :delay => 'xx' assert !relation.save assert_equal IssueRelation::TYPE_FOLLOWS, relation.relation_type assert_equal from, relation.issue_from |