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