Associating a deliverable with a project. #1135

This commit is contained in:
Eric Davis committed 2008-05-20 16:09:09 -07:00
1 parent 9484d41850
commit 439a649b40
3 files changed
+16

No files matched your search

+6
View File
@@ -5,3 +5,9 @@ describe Deliverable do
Deliverable.new.should be_valid
end
end
describe Deliverable, 'associations' do
it "should have a project association" do
Deliverable.reflect_on_association(:project).should_not be( nil )
end
end