Sha256: e1e2c04e78b37e2c5f05438d1d5dd6e4f94690c2b3449d3559f8c76522e383c4
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
require 'spec_helper' describe Evrone::CI::Router::Configuration do let(:config) { Evrone::CI::Router.config } subject { config } before { Evrone::CI::Router.reset_config! } its(:timeout) { should eq 1800 } its(:amqp_url) { should be_nil } context ".configure" do subject { Evrone::CI::Router.configure do |c| c.timeout = 1 c.amqp_url = "2" end } its(:timeout) { should eq 1 } its(:amqp_url) { should eq "2" } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evrone-ci-router-0.2.0.pre0 | spec/lib/configuration_spec.rb |