From 699da160493f7f2f96ba64b356e1b216a2ad7e52 Mon Sep 17 00:00:00 2001 From: enricostano Date: Mon, 10 Apr 2017 16:32:16 +0200 Subject: [PATCH] Remove unused spec support method --- spec/support/request/authentication_workflow.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/support/request/authentication_workflow.rb b/spec/support/request/authentication_workflow.rb index 79b6d81452..61ba32e1b0 100644 --- a/spec/support/request/authentication_workflow.rb +++ b/spec/support/request/authentication_workflow.rb @@ -19,11 +19,6 @@ module AuthenticationWorkflow admin_user end - def stub_authorization! - before(:all) { Spree::Ability.register_ability(AuthorizationHelpers::Request::SuperAbility) } - after(:all) { Spree::Ability.remove_ability(AuthorizationHelpers::Request::SuperAbility) } - end - def login_to_admin_section admin_role = Spree::Role.find_or_create_by_name!('admin') admin_user = create(:user,