Cleanup Qsupplier

This commit is contained in:
2014-08-18 09:33:11 +02:00
parent 3b5d411a89
commit 34877d4b8b
8 changed files with 204 additions and 221 deletions
@@ -132,3 +132,13 @@ end
step "the supplier table actions of the new list should be visible" do
page.should have_selector ".section-table-#{@table.id} .table-actions .close-list-button"
end
step "the list should be linked to the original table in the section view" do
step "the section table should be marked as having an active order"
end
step "the list should be linked to the other table in the section view" do
table = page.find(".section-table-#{@other_table.id}")
table['class'].should include 'active_order'
table['class'].should include 'occupied'
end