Sha256: 826c71a07a191ebb9662516313e0bdec37d7f7f1c5e5824bea6c9b8b22a6611c
Contents?: true
Size: 843 Bytes
Versions: 14
Compression:
Stored size: 843 Bytes
Contents
# -*- coding: utf-8 -*- require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe 'Tengine::Support::Config::Mongoid' do context "static" do describe Tengine::Support::Config::Mongoid::Connection.host do it { subject.should be_a(Tengine::Support::Config::Definition::Field)} its(:type){ should == :string } its(:__name__){ should == :host } its(:description){ should == 'hostname to connect db.'} its(:default){ should == 'localhost'} end describe Tengine::Support::Config::Mongoid::Connection.port do it { subject.should be_a(Tengine::Support::Config::Definition::Field)} its(:type){ should == :integer } its(:__name__){ should == :port } its(:description){ should == 'port to connect db.'} its(:default){ should == 27017} end end end
Version data entries
14 entries across 14 versions & 1 rubygems