diff options
Diffstat (limited to 'test/functional/gantts_controller_test.rb')
-rw-r--r-- | test/functional/gantts_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb index 858340448..5beb9aa28 100644 --- a/test/functional/gantts_controller_test.rb +++ b/test/functional/gantts_controller_test.rb @@ -82,8 +82,8 @@ class GanttsControllerTest < ActionController::TestCase def test_gantt_should_display_relations IssueRelation.delete_all - issue1 = Issue.generate!(:start_date => 1.day.from_now, :due_date => 3.day.from_now) - issue2 = Issue.generate!(:start_date => 1.day.from_now, :due_date => 3.day.from_now) + issue1 = Issue.generate!(:start_date => 1.day.from_now.to_date, :due_date => 3.day.from_now.to_date) + issue2 = Issue.generate!(:start_date => 1.day.from_now.to_date, :due_date => 3.day.from_now.to_date) IssueRelation.create!(:issue_from => issue1, :issue_to => issue2, :relation_type => 'precedes') get :show |