Major supplier refactor making the whole system work better
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user