Sha256: cc1e6521d5761ec11bc22f3539fd47112356bf16e7bde81f6cee425e450317e0
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_ship_compliant-1.0.0 | spec/support/ability.rb |