Improve supplier settings logick

This commit is contained in:
2014-10-06 10:20:13 +02:00
parent a23760965e
commit ca0bf64568
11 changed files with 46 additions and 9 deletions
+4
View File
@@ -23,3 +23,7 @@ step "the supplier has a night offset of :minutes minutes" do |minutes|
@supplier.night_offset = minutes
@supplier.save
end
step "the supplier name in the page should be :name" do |name|
page.find('.top-menu .supplier-name').text.should == name
end