Sha256: b4d582c007025a31bcd4837bfff15fec25d4d6dd6395471e9c9d87b9ca5d828b
Contents?: true
Size: 846 Bytes
Versions: 10
Compression:
Stored size: 846 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
10 entries across 10 versions & 1 rubygems