Building specs for the controller. #1135

This commit is contained in:
Eric Davis
2008-05-20 16:39:24 -07:00
parent 15cc2c992d
commit 5919d7b177
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ class DeliverablesController < ApplicationController
before_filter :find_project, :authorize, :get_settings
def index
@deliverables = Deliverable.find(:all)
@deliverables = Deliverable.find_all_by_project_id(@project.id)
end
private