From a0c7dc2ccbf4ca07e847b9db61f44183aa42cb7e Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 24 Jun 2020 11:47:26 +1000 Subject: [PATCH] Remove leftover empty spec context --- spec/features/consumer/shopping/shopping_spec.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/spec/features/consumer/shopping/shopping_spec.rb b/spec/features/consumer/shopping/shopping_spec.rb index b947b23d3d..6d37432902 100644 --- a/spec/features/consumer/shopping/shopping_spec.rb +++ b/spec/features/consumer/shopping/shopping_spec.rb @@ -148,17 +148,6 @@ feature "As a consumer I want to shop with a distributor", js: true do end end end - - context "when logged in" do - let!(:prev_order) { create(:completed_order_with_totals, order_cycle: oc1, distributor: distributor, user: order.user) } - - before do - distributor.allow_order_changes = true - distributor.save - quick_login_as order.user - visit shop_path - end - end end end