spec/spec_08/connection_spec.rb in bunny-0.7.10 vs spec/spec_08/connection_spec.rb in bunny-0.7.11

- old
+ new

@@ -5,11 +5,11 @@ 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(:user => 'wrong') + b = Bunny.new(:spec => "0.8", :user => 'wrong') lambda { b.start}.should raise_error(Bunny::ProtocolError) end it "should be able to open a TCPSocket with a timeout" do b = Bunny.new(:spec => "0.8") @@ -20,6 +20,5 @@ end }.should_not raise_error(Exception) end end -