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:
parent
864d6d2880
commit
d3fa89b42c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue