Better section actions speccing

This commit is contained in:
2013-12-22 20:25:35 +01:00
parent 592aa65054
commit 101cbd62e5
6 changed files with 81 additions and 5 deletions
@@ -10,6 +10,9 @@ step "I visit the supplier section path" do
visit "/supplier/sections/#{@section.id}"
end
step "I visit the supplier last section path" do
visit "/supplier/sections/#{@sections.last.id}"
end
step "I should be redirected to the supplier settings page" do
#page.current_path.should == supplier_settings_path