Specs are green

This commit is contained in:
2014-12-11 16:08:30 +01:00
parent 15e6bdf054
commit f9c94bab47
6 changed files with 9 additions and 5 deletions
+1
View File
@@ -6,6 +6,7 @@ step "there is an open supplier with a menu" do
@apple_pie= create :product, name: 'Apple pie', supplier: @supplier, price: 4.28, product_category_id: @category_lunch.id
@heineken_beer = create :product, name: 'Heineken beer', supplier: @supplier, price: 2.34, product_category_id: @category_beer.id
@product = @heineken_beer # set @product for user order selection
end
step "the supplier is in :time_zone" do |time_zone|