Sha256: a8fcce87c2ed38761664b6c8a5cc1359526bcbe3506ad21da657a4deec646f4b

Contents?: true

Size: 487 Bytes

Versions: 23

Compression:

Stored size: 487 Bytes

Contents

require 'cantango/configuration/shared/registry_ex'

shared_examples_for 'Role Registry' do
  it_should_behave_like "Registry"

  describe 'default settings' do
    its(:has_method) { should == has }
    its(:list_method) { should == list }

    its(:default_has_method) { should be_a Symbol }
    its(:default_list_method) { should be_a Symbol }
  end

  describe "exclude" do
    before do
      subject.exclude :admin
    end

    its(:excluded) { should include(:admin) }
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
cantango-config-0.1.0 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.4.7 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.4.6 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.4.5 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.4.3 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.4.2 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.4.1 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.4 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.9.3.2 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.9.5 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.9.4 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.9.3 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.9.2 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.9.1 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.9 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.8.1 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.8 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.7 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.6.2 spec/cantango/configuration/shared/role_registry_ex.rb
cantango-0.8.6.1 spec/cantango/configuration/shared/role_registry_ex.rb