@@ -1525,7 +1525,7 class IssueTest < ActiveSupport::TestCase | |||||
1525 | child = Issue.new(:parent_issue_id => issue2.id, :start_date => '2012-10-16', |
|
1525 | child = Issue.new(:parent_issue_id => issue2.id, :start_date => '2012-10-16', | |
1526 | :project_id => 1, :tracker_id => 1, :status_id => 1, :subject => 'Child', :author_id => 1) |
|
1526 | :project_id => 1, :tracker_id => 1, :status_id => 1, :subject => 'Child', :author_id => 1) | |
1527 | assert !child.valid? |
|
1527 | assert !child.valid? | |
1528 |
assert_include ' |
|
1528 | assert_include 'cannot be earlier than 10/18/2012 because of preceding issues', child.errors.full_messages | |
1529 | assert_equal Date.parse('2012-10-18'), child.soonest_start |
|
1529 | assert_equal Date.parse('2012-10-18'), child.soonest_start | |
1530 | child.start_date = '2012-10-18' |
|
1530 | child.start_date = '2012-10-18' | |
1531 | assert child.save |
|
1531 | assert child.save |
General Comments 0
You need to be logged in to leave comments.
Login now