Green specs for ember 1.13
This commit is contained in:
@@ -30,8 +30,7 @@ step "the section table should not be marked as in need of help" do
|
||||
end
|
||||
|
||||
step 'the table should be marked as occupied and having an active order' do
|
||||
classes = find(".section-table-#{@table.id}")['class'].split(/\s+/)
|
||||
expect(classes & %w[occupied active_order]).to eq %w[occupied active_order]
|
||||
assert_element_class ".section-table-#{@table.id}", %w[occupied active_order]
|
||||
end
|
||||
|
||||
step "I click on section table as a supplier" do
|
||||
|
||||
Reference in New Issue
Block a user