Fix list unit and supplier main board acceptance specs
This commit is contained in:
@@ -33,19 +33,19 @@ step "the order in the supplier dashboard should not be displayed anymore" do
|
||||
end
|
||||
|
||||
step "the list on the supplier dashboard should not be marked as in need of help" do
|
||||
page.should_not have_selector(".list-row-#{@list.id} .list-needs-help-indicator")
|
||||
page.should_not have_selector(".list-row-#{@list.id} .icon.needs-help")
|
||||
end
|
||||
|
||||
step "the list on the supplier dashboard should be marked as in need of help" do
|
||||
page.should have_selector(".list-row-#{@list.id} .list-needs-help-indicator")
|
||||
page.should have_selector(".list-row-#{@list.id} .icon.needs-help")
|
||||
end
|
||||
|
||||
step "the list on the supplier dashboard should not be marked as in need of payment" do
|
||||
page.should_not have_selector(".list-row-#{@list.id} .list-needs-payment-indicator")
|
||||
page.should_not have_selector(".list-row-#{@list.id} .icon.needs-payment")
|
||||
end
|
||||
|
||||
step "the list on the supplier dashboard should be marked as in need of payment" do
|
||||
page.should have_selector(".list-row-#{@list.id} .list-needs-payment-indicator")
|
||||
page.should have_selector(".list-row-#{@list.id} .icon.needs-payment")
|
||||
end
|
||||
|
||||
step "the supplier dashboard list should display the updated price" do
|
||||
|
||||
Reference in New Issue
Block a user