Sha256: ab186e53140e2e2f441d8b49a5a37d6e5cab85a8340571af575bf0c05df184e1

Contents?: true

Size: 320 Bytes

Versions: 10

Compression:

Stored size: 320 Bytes

Contents

# connection_spec.rb

require File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. lib bunny]))

describe Bunny do
	
	it "should raise an error if the wrong user name or password is used" do
		b = Bunny.new(:spec => '0.9', :user => 'wrong')
		lambda { b.start}.should raise_error(Bunny::ProtocolError)	
	end
	
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
sidekick-client-0.2.5 lib/ext/bunny-0.6.0/spec/spec_09/connection_spec.rb
bunny-0.6.3.rc2 spec/spec_09/connection_spec.rb
bunny-0.6.3.rc1 spec/spec_09/connection_spec.rb
sidekick-client-0.2.4 lib/ext/bunny-0.6.0/spec/spec_09/connection_spec.rb
sidekick-client-0.2.3 lib/ext/bunny-0.6.0/spec/spec_09/connection_spec.rb
sidekick-client-0.2.2 lib/ext/bunny-0.6.0/spec/spec_09/connection_spec.rb
sidekick-client-0.2.1 lib/ext/bunny-0.6.0/spec/spec_09/connection_spec.rb
sidekick-client-0.2.0 lib/ext/bunny-0.6.0/spec/spec_09/connection_spec.rb
sidekick-client-0.1.0 lib/ext/bunny-0.6.0/spec/spec_09/connection_spec.rb
bunny-0.6.0 spec/spec_09/connection_spec.rb