Sha256: a27602262bb6f1dc8158936e0fff1e77a0a44f8ae9be0c35887a4fa02a77e168
Contents?: true
Size: 504 Bytes
Versions: 12
Compression:
Stored size: 504 Bytes
Contents
require 'spec_helper' describe Spree::PermissionSets::StoreDisplay 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(:display, Spree::Store) } it { should be_able_to(:admin, Spree::Store) } end context "when not activated" do it { should_not be_able_to(:display, Spree::Store) } it { should_not be_able_to(:admin, Spree::Store) } end end
Version data entries
12 entries across 12 versions & 1 rubygems