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,