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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-07 12:23:09 +00:00
parent 864d6d2880
commit d3fa89b42c
1 changed files with 3 additions and 1 deletions

View File

@ -76,7 +76,9 @@ class IssueRelationTest < ActiveSupport::TestCase
end
def test_set_issue_to_dates_without_issue_to
r = IssueRelation.new(:issue_from => Issue.new(:start_date => Date.today), :relation_type => IssueRelation::TYPE_PRECEDES, :delay => 1)
r = IssueRelation.new(:issue_from => Issue.new(:start_date => Date.today),
:relation_type => IssueRelation::TYPE_PRECEDES,
:delay => 1)
assert_nil r.set_issue_to_dates
end