Sha256: 76b6b5f72c745b2e7c7ff640b2c8763e78dcc6a893f9089f51fb76a4d04e64b9
Contents?: true
Size: 842 Bytes
Versions: 8
Compression:
Stored size: 842 Bytes
Contents
# -*- coding: utf-8 -*- require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') describe 'Tengine::Support::Config::Amqp' do context "static" do describe Tengine::Support::Config::Amqp::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 queue.'} its(:default){ should == 'localhost'} end describe Tengine::Support::Config::Amqp::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 queue.'} its(:default){ should == 5672} end end end
Version data entries
8 entries across 8 versions & 1 rubygems