Upgrades and fixes, maintenance

This commit is contained in:
2014-06-09 19:07:46 +02:00
parent 78a894759b
commit 0e4993e8a6
23 changed files with 87 additions and 57 deletions
@@ -29,7 +29,7 @@ end
step "the supplier clicks on the edit product category button" do
within "#product_category_#{@product_category.id}" do
find('.edit-resource-button').click
find('.table-edit').click
end
end
@@ -19,7 +19,7 @@ step "the supplier fills in the new product form selecting the first product cat
end
step "the supplier submits the product form" do
find('.save-product-button').click
find('.form-action-submit').click
end
@@ -38,7 +38,7 @@ end
step "the supplier clicks on the edit product button" do
within ".product-row-#{@product.id}" do
find('.edit-resource-button').click
find('.table-edit').click
end
end
@@ -10,6 +10,7 @@ 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
@@ -10,7 +10,8 @@ step "the supplier fills in the new table form selecting the first section" do
end
step "the supplier submits the table form" do
find('.save-table-button').click
#find('.save-table-button').click
find('.form-action-submit').click
end
step "the new supplier table with proper properties should have been created" do