Sha256: c7b566dcd132c79dd7bde6cff0d83989eb154c45805176c69714b57cfbe844dd
Contents?: true
Size: 766 Bytes
Versions: 3
Compression:
Stored size: 766 Bytes
Contents
require 'spec_helper' describe Rabbithole::Connection do describe Rabbithole::Connection::Settings do it 'reads the correct config' do Rabbithole::Connection::Settings.host.should == 'localhost' Rabbithole::Connection::Settings.port.should == 5672 Rabbithole::Connection::Settings.vhost.should == '/rabbithole-test' Rabbithole::Connection::Settings.user.should == 'rabbithole-test-user' Rabbithole::Connection::Settings.password.should == 'rabbithole-test-password' end it '#to_url' do Rabbithole::Connection::Settings.to_url.should == 'amqp://rabbithole-test-user:rabbithole-test-password@localhost:5672/%2Frabbithole-test' end end it 'establishes a connection' do described_class.session end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rabbithole-0.0.3 | spec/lib/rabbithole/connection_spec.rb |
rabbithole-0.0.2 | spec/lib/rabbithole/connection_spec.rb |
rabbithole-0.0.1 | spec/lib/rabbithole/connection_spec.rb |