Sha256: b8e38c0eb6f88d56d0c512ce6b409b6aa3014245dd90158525d5f4f5e9c92835

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'
require 'cantango/configuration/shared/registry/clazz_ex'

class UserAccount
end

class AdminAccount
end

describe CanTango::Configuration::Accounts do
  subject { CanTango.config.accounts }

  it_should_behave_like "Clazz Registry" do
    let(:hash1) do
      {:a => UserAccount, :b => AdminAccount}
    end    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cantango-config-0.1.7 spec/cantango/configuration/accounts_spec.rb
cantango-config-0.1.6 spec/cantango/configuration/accounts_spec.rb
cantango-config-0.1.5 spec/cantango/configuration/accounts_spec.rb
cantango-config-0.1.4 spec/cantango/configuration/accounts_spec.rb
cantango-config-0.1.3 spec/cantango/configuration/accounts_spec.rb