Sha256: 99ea48bbada2d92559538adf85e8e651ee051681290df9ea19d2916fa637a432
Contents?: true
Size: 839 Bytes
Versions: 14
Compression:
Stored size: 839 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
14 entries across 14 versions & 1 rubygems