[#4181] Added the New/Create actions for a Deliverable.

This commit is contained in:
Eric Davis
2010-06-23 15:47:01 -07:00
parent 60d334e858
commit 5bb3970d4c
8 changed files with 113 additions and 1 deletions
+8
View File
@@ -39,6 +39,14 @@ module IntegrationTestHelper
assert_template 'contracts/index'
end
def visit_contract_page(contract)
visit_contracts_for_project(contract.project)
click_link @contract.id
assert_response :success
assert_template 'contracts/show'
end
def assert_forbidden
assert_response :forbidden
assert_template 'common/403'