Sha256: df8d57a078091873c0e8f6e65c5cb6f672204fbe76fc28fcfd9fa696c7506bc1
Contents?: true
Size: 358 Bytes
Versions: 15
Compression:
Stored size: 358 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |config| config.after do Spree::Ability.abilities.delete(AbilityDecorator) if Spree::Ability.abilities.include?(AbilityDecorator) end end if defined? CanCan::Ability class AbilityDecorator include CanCan::Ability def initialize(_user) cannot :manage, Spree::Order end end end
Version data entries
15 entries across 15 versions & 2 rubygems