Green specs for ember 1.13

This commit is contained in:
2015-08-13 15:08:04 +02:00
parent 8ce95f72e9
commit 0415603a49
7 changed files with 21 additions and 10 deletions
@@ -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