Fixed API usage, projects are not releated to Deliverables. #1137
This commit is contained in:
@@ -17,6 +17,7 @@ describe DeliverablesController,"#index when logged in" do
|
||||
Deliverable.stub!(:find).and_return([])
|
||||
|
||||
Project.should_receive(:find).with(@project.to_param).and_return(@project)
|
||||
Project.should_receive(:find).with(@project.id).and_return(@project)
|
||||
controller.stub!(:authorize).and_return(true)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user