Associating a deliverable with a project. #1135
This commit is contained in:
1 parent
9484d41850
commit
439a649b40
3 files changed
+16
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user