Sha256: 2f082223ffb75bf04cf5a521e6c584ab7363c352f00c71ca061548cedb04e117

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

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

class UserAccount
end

class AdminAccount
end

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cantango-config-0.1.2 spec/cantango/configuration/accounts_spec.rb
cantango-config-0.1.1 spec/cantango/configuration/accounts_spec.rb