Spec squashing
This commit is contained in:
@@ -8,6 +8,10 @@ step "the supplier employee clicks on the other employee table edit button" do
|
||||
all('tr').last.find('.table-edit').click
|
||||
end
|
||||
|
||||
step "the supplier employee should see content :content" do |content|
|
||||
page.should have_content content
|
||||
end
|
||||
|
||||
step "the supplier employee clicks on the existing employee table destroy button" do
|
||||
find 'table.table'
|
||||
sleep 0.2
|
||||
|
||||
@@ -70,7 +70,7 @@ step "the section table should not have any active list markings anymore" do
|
||||
css_class.should_not include 'occupied'
|
||||
css_class.should_not include 'active_order'
|
||||
css_class.should_not include 'needs_payment'
|
||||
ember_find('table', @table.id)['active_list_id'].should_not be_present
|
||||
ember_find('table', @table.id)['active_list'].should_not be_present
|
||||
end
|
||||
|
||||
step "I should be redirected to the supplier section view" do
|
||||
|
||||
Reference in New Issue
Block a user