Major supplier refactor making the whole system work better

This commit is contained in:
2014-08-07 15:50:06 +02:00
parent e61767fe78
commit b4353113e1
40 changed files with 6614 additions and 4354 deletions
@@ -11,7 +11,7 @@ step "I visit the supplier section path" do
end
step "I visit the supplier last section path" do
visit "/supplier/sections/#{@sections.last.id}"
visit "/supplier#/sections/#{@sections.last.id}"
end
step "I should be redirected to the supplier settings page" do
@@ -20,5 +20,5 @@ step "I should be redirected to the supplier settings page" do
end
step "I visit the supplier settings path" do
visit supplier_settings_path
visit "/supplier#/settings"
end
@@ -27,7 +27,6 @@ step "the section table should be marked as in need of help" do
end
step "the section table should not be marked as in need of help" do
binding.pry
table = page.find(".section-table-#{@table.id}")
table['class'].should_not include 'needs_help'
end