Sha256: 1d2f7cb2ac52e04ea39a4f110e29093e2266baadc56dcfd62bb5192b1bee80f3

Contents?: true

Size: 390 Bytes

Versions: 22

Compression:

Stored size: 390 Bytes

Contents

require 'rspec'
require 'cantango'

class BaseAccount
  def initialize
  end
end


describe CanTango::Configuration::UserAccount do
  before do
    CanTango.config.user.base_class = User
  end

  subject { CanTango.config.user_account }

  describe 'set base class' do
    before do
      subject.base_class = BaseAccount
    end

    its(:base_class) { should == BaseAccount }
  end
end


Version data entries

22 entries across 22 versions & 1 rubygems

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