Saturday progress

This commit is contained in:
2013-01-19 17:14:33 +01:00
parent db1a6ac96b
commit 702bd41ee4
36 changed files with 128 additions and 57 deletions
@@ -2,11 +2,11 @@ require 'acceptance/acceptance_helper'
feature 'Supplier product categories spec', %q{
In order to manage product categories
As a supplier
As a confirmed supplier
I want to have control over product categories and associated products
} do
background do
create_supplier 'supplier@qwaiter.com'
create_confirmed_supplier 'supplier@qwaiter.com'
end
context "GET #index" do
background do
@@ -2,12 +2,12 @@ require 'acceptance/acceptance_helper'
feature 'Supplier main board spec.rb', %q{
In order to manage active lists and orders
As a supplier
As a confirmed supplier
I want to have control over lists and orders from the main activity panel
} do
background do
CouchPotato.couchrest_database.recreate!
create_supplier 'supplier@qwaiter.com'
create_confirmed_supplier 'supplier@qwaiter.com'
create_user 'user@qwaiter.com'
end