Sha256: ffeee54905fa0777c83b78faeb5e4abc16d82879158d87fcfb41a317881d3284
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 Bytes
Contents
require 'spec_helper' describe Spree::PermissionSets::LegacyReturnAuthorizationManagement do let(:ability) { Spree::Ability.new nil } subject { ability } context "when activated" do before do described_class.new(ability).activate! end it { should be_able_to(:manage, Spree::LegacyReturnAuthorization) } end context "when not activated" do it { should_not be_able_to(:manage, Spree::LegacyReturnAuthorization) } end end
Version data entries
3 entries across 3 versions & 1 rubygems