[#4181] Associate a deliverable with a contract on creation.

This commit is contained in:
Eric Davis
2010-06-23 16:25:13 -07:00
parent 5bb3970d4c
commit 34d75ded5d
2 changed files with 3 additions and 1 deletions
@@ -38,6 +38,7 @@ class DeliverablesNewTest < ActionController::IntegrationTest
@deliverable = Deliverable.last
assert_equal "A New Deliverable", @deliverable.title
assert_equal @contract, @deliverable.contract
assert_equal "FixedDeliverable", @deliverable.type
assert_equal '2010-01-01', @deliverable.start_date.to_s
assert_equal '2010-12-31', @deliverable.end_date.to_s