From 45bcee16efc6ed560e2e10038b7ff1d755b21e5b Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Thu, 27 Nov 2014 09:44:13 +1100 Subject: [PATCH] Pulling out obsolete setup in BOM spec to make it more like BPE spec, see if that helps with intermittent fails --- spec/features/admin/bulk_order_management_spec.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spec/features/admin/bulk_order_management_spec.rb b/spec/features/admin/bulk_order_management_spec.rb index fe18f1a9bf..faba967e47 100644 --- a/spec/features/admin/bulk_order_management_spec.rb +++ b/spec/features/admin/bulk_order_management_spec.rb @@ -5,20 +5,16 @@ feature %q{ I want to be able to manage orders in bulk } , js: true do include AuthenticationWorkflow - include AuthorizationHelpers include WebHelper - after { Warden.test_reset! } - stub_authorization! context "listing orders" do before :each do - admin_user = quick_login_as_admin + login_to_admin_section end it "displays a message when number of line items is zero" do visit '/admin/orders/bulk_management' page.should have_text "No orders found." - end context "displaying the list of line items" do