From e92d21ec4e8cc78329ebcdc574fa63b44b07ca61 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Thu, 27 Feb 2014 11:44:36 +1100 Subject: [PATCH] Patching a scoping bug that broke ALL the tests --- spec/features/consumer/shopping/checkout_spec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/features/consumer/shopping/checkout_spec.rb b/spec/features/consumer/shopping/checkout_spec.rb index fe12ef3611..1665483cc3 100644 --- a/spec/features/consumer/shopping/checkout_spec.rb +++ b/spec/features/consumer/shopping/checkout_spec.rb @@ -1,9 +1,10 @@ require 'spec_helper' -include AuthenticationWorkflow -include WebHelper feature "As a consumer I want to check out my cart", js: true do + include AuthenticationWorkflow + include WebHelper + let(:distributor) { create(:distributor_enterprise) } let(:supplier) { create(:supplier_enterprise) } let(:order_cycle) { create(:order_cycle, distributors: [distributor], coordinator: create(:distributor_enterprise)) }