upgrade rails and allow blank iens profile
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
require 'acceptance/acceptance_helper'
|
||||
|
||||
feature 'Supplier main board spec.rb', %q{
|
||||
In order to manage active list and orders
|
||||
In order to manage active lists and orders
|
||||
As a supplier
|
||||
I want to have control over list and orders from the main activity panel
|
||||
I want to have control over lists and orders from the main activity panel
|
||||
} do
|
||||
background do
|
||||
CouchPotato.couchrest_database.recreate!
|
||||
@@ -16,7 +16,7 @@ feature 'Supplier main board spec.rb', %q{
|
||||
@list = create :list, supplier: @supplier, table: @table, user_ids: [@user.id]
|
||||
end
|
||||
|
||||
context "using javascript", js: true do
|
||||
context "having javascript activated", js: true do
|
||||
|
||||
scenario 'the active list should be present and contained in row having its id' do
|
||||
create_active_list
|
||||
@@ -25,7 +25,7 @@ feature 'Supplier main board spec.rb', %q{
|
||||
page.should have_selector "#list-row-#{@list.id}"
|
||||
end
|
||||
|
||||
scenario 'order is added to the list before visiting the page' do
|
||||
scenario 'an order is added to the list before visiting the page' do
|
||||
create_active_list
|
||||
login_supplier_as 'supplier@qwaiter.com'
|
||||
product = create :product, supplier: @supplier
|
||||
@@ -35,7 +35,7 @@ feature 'Supplier main board spec.rb', %q{
|
||||
page.should have_selector ".of-list-#{@list.id}"
|
||||
end
|
||||
|
||||
scenario 'order is added to the list after visiting the page' do
|
||||
scenario 'an order is added to the list after visiting the page' do
|
||||
create_active_list
|
||||
login_supplier_as 'supplier@qwaiter.com'
|
||||
product = create :product, supplier: @supplier
|
||||
|
||||
Reference in New Issue
Block a user