Sha256: 4df34d1f6467f6c90072b71e61440767eeb35c24944666ae91fcd76c6dc5f5d8
Contents?: true
Size: 500 Bytes
Versions: 11
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' describe Vx::Router::Configuration do let(:config) { Vx::Router.config } subject { config } before { Vx::Router.reset_config! } its(:timeout) { should eq 1800 } its(:amqp_url) { should be_nil } context ".configure" do subject { Vx::Router.configure do |c| c.timeout = 1 c.amqp_url = "2" end } its(:timeout) { should eq 1 } its(:amqp_url) { should eq "2" } its(:workers) { should eq 1 } end end
Version data entries
11 entries across 11 versions & 1 rubygems