spec/exchange_spec.rb in bunny-0.3.0 vs spec/exchange_spec.rb in bunny-0.3.1
- old
+ new
@@ -9,10 +9,10 @@
require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib bunny]))
describe Bunny::Exchange do
before(:each) do
- @b = Bunny::Client.new
+ @b = Bunny.new
@b.start
end
it "should raise an error if instantiated as non-existent type" do
lambda { @b.exchange('bogus_ex', :type => :bogus) }.should raise_error(Bunny::ProtocolError)
\ No newline at end of file