Add failing user spec when loading previous lists
This commit is contained in:
@@ -105,3 +105,9 @@ step 'the user should see the products listed for the active list' do
|
||||
page.should have_content @heineken_beer.name
|
||||
page.should have_content @apple_pie.name
|
||||
end
|
||||
|
||||
step "the user has an older list for the same supplier" do
|
||||
expect([@supplier, @table, @user]).to be_all
|
||||
@older_list = create :list, supplier: @supplier, table: @table, user_ids: [@user.id]
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user