spec/integration/channel_close_spec.rb in amqp-0.7.1 vs spec/integration/channel_close_spec.rb in amqp-0.7.2
- old
+ new
@@ -1,10 +1,10 @@
# encoding: utf-8
require "spec_helper"
describe AMQP, "#close(&callback)" do
- include AMQP::EMSpec
+ include EventedSpec::AMQPSpec
default_timeout 5
it "takes a callback which will run when we get back Channel.Close-Ok" do
AMQP::Channel.new.close do |amq|