Sha256: c727122020063cf02d7839b746bb4e8b307266b604294dcd3387310bd0ec2653

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

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

class User
end

class Admin
end

describe CanTango::Configuration::Users do
  subject { CanTango.config.users }

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

Version data entries

2 entries across 2 versions & 1 rubygems

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