Remove unused test code

This commit is contained in:
Bing Xie
2016-05-04 12:27:24 +10:00
parent e5d2e5010b
commit ed1a06495b
2 changed files with 1 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
bottom: 0px
padding: 8px 10px
font-weight: bold
background-color: #eff5fc
background-color: #fff
color: #5498da
h5
color: #5498da

View File

@@ -608,10 +608,6 @@ feature %q{
page.all('tr.supplier').count.should == 3
page.all('tr.distributor').count.should == 3
# # When I save, then those exchanges should remain
# click_button 'Update'
# page.should have_content "Your order cycle has been updated."
oc.reload
oc.suppliers.should match_array [supplier_managed, supplier_permitted, supplier_unmanaged]
oc.coordinator.should == distributor_managed
@@ -699,10 +695,6 @@ feature %q{
# I should be able to see but not toggle v2, because I don't have permission
expect(page).to have_field "order_cycle_outgoing_exchange_0_variants_#{v2.id}", disabled: true
# When I save, any exchanges that I can't manage remain
# click_button 'Update'
# page.should have_content "Your order cycle has been updated."
oc.reload
oc.suppliers.should match_array [supplier_managed, supplier_permitted, supplier_unmanaged]
oc.coordinator.should == distributor_managed
@@ -752,10 +744,6 @@ feature %q{
# I should be able to see but not toggle v2, because I don't have permission
expect(page).to have_field "order_cycle_incoming_exchange_0_variants_#{v2.id}", disabled: true
# When I save, any exchange that I can't manage remains
# click_button 'Update'
# page.should have_content "Your order cycle has been updated."
oc.reload
oc.suppliers.should match_array [supplier_managed, supplier_permitted, supplier_unmanaged]
oc.coordinator.should == distributor_managed