[#6441] Remove test code that is now in a setup block
This commit is contained in:
1 parent
0a916fea70
commit
5c1e254181
1 file changed
-6
@@ -518,8 +518,6 @@ class DeliverablesEditTest < ActionController::IntegrationTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
should "be allowed to change the status on a locked deliverables to open" do
|
should "be allowed to change the status on a locked deliverables to open" do
|
||||||
assert @fixed_deliverable.lock!
|
|
||||||
|
|
||||||
visit_contract_page(@contract)
|
visit_contract_page(@contract)
|
||||||
click_link_within "#deliverable_details_#{@fixed_deliverable.id}", 'Edit'
|
click_link_within "#deliverable_details_#{@fixed_deliverable.id}", 'Edit'
|
||||||
assert_response :success
|
assert_response :success
|
||||||
@@ -537,8 +535,6 @@ class DeliverablesEditTest < ActionController::IntegrationTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
should "be allowed to change the status on a locked deliverables to closed" do
|
should "be allowed to change the status on a locked deliverables to closed" do
|
||||||
assert @fixed_deliverable.lock!
|
|
||||||
|
|
||||||
visit_contract_page(@contract)
|
visit_contract_page(@contract)
|
||||||
click_link_within "#deliverable_details_#{@fixed_deliverable.id}", 'Edit'
|
click_link_within "#deliverable_details_#{@fixed_deliverable.id}", 'Edit'
|
||||||
assert_response :success
|
assert_response :success
|
||||||
@@ -599,8 +595,6 @@ class DeliverablesEditTest < ActionController::IntegrationTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
should "be allowed to change the status on a closed deliverables to open" do
|
should "be allowed to change the status on a closed deliverables to open" do
|
||||||
assert @fixed_deliverable.close!
|
|
||||||
|
|
||||||
visit_contract_page(@contract)
|
visit_contract_page(@contract)
|
||||||
click_link_within "#deliverable_details_#{@fixed_deliverable.id}", 'Edit'
|
click_link_within "#deliverable_details_#{@fixed_deliverable.id}", 'Edit'
|
||||||
assert_response :success
|
assert_response :success
|
||||||
|
|||||||
Reference in new issue
Block a user