All specs green, ember transition successful
This commit is contained in:
@@ -23,6 +23,10 @@ step "the user order should be created as a new order" do
|
||||
end
|
||||
|
||||
step "the user order gets marked as being in process" do
|
||||
step "the order gets marked as being in process"
|
||||
end
|
||||
|
||||
step "the order gets marked as being in process" do
|
||||
@order.is_being_processed!
|
||||
end
|
||||
|
||||
|
||||
@@ -134,7 +134,6 @@ step "the active list changes to another table in another section" do
|
||||
end
|
||||
|
||||
step "the supplier main board table number should be updated to the new table number" do
|
||||
binding.pry
|
||||
expect( find(".list-row-#{@list.id} .table_number").text ).to eq "65"
|
||||
expect( find(".order-row-#{@list.orders.first.id} .table_number").text ).to eq "65"
|
||||
end
|
||||
|
||||
@@ -10,9 +10,11 @@ end
|
||||
|
||||
step "the section table should be marked as having an active order" do
|
||||
table = page.find(".section-table-#{@table.id}")
|
||||
binding.pry
|
||||
table['class'].should include 'active_order'
|
||||
end
|
||||
step "the section table should still be marked as having an active order" do
|
||||
step "the section table should be marked as having an active order"
|
||||
end
|
||||
|
||||
step "the section table should be marked as occupied" do
|
||||
table = page.find(".section-table-#{@table.id}")
|
||||
|
||||
Reference in New Issue
Block a user