Sha256: 2c52ff3452a9898ff6d43995b91b0bff1e1da86cb902aedee8a1509cc6837c11

Contents?: true

Size: 322 Bytes

Versions: 5

Compression:

Stored size: 322 Bytes

Contents

shared_examples_for "Troles Common Config" do
  describe 'config settings' do
    describe '#default_orm' do
      before :each do        
        user.troles_config.orm.should == nil
        Troles.Config.default_orm = :mongoid                
        user.troles_config.orm.should == :mongoid
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
troles-0.6.1 spec/troles/common/config_spec.rb
troles-0.6.0 spec/troles/common/config_spec.rb
troles-0.5.2 spec/troles/common/config_spec.rb
troles-0.5.1 spec/troles/common/config_spec.rb
troles-0.5.0 spec/troles/common/config_spec.rb