Sha256: 229d7aca81f922a284379fe2997b9b274871ced06ac324d75cba1f7902237b13

Contents?: true

Size: 323 Bytes

Versions: 14

Compression:

Stored size: 323 Bytes

Contents

# encoding: utf-8

require "spec_helper"

describe AMQP::Channel, "#close(&callback)" do
  include EventedSpec::AMQPSpec

  it "takes a callback which will run when we get back Channel.Close-Ok" do
    channel = AMQP::Channel.new do |*args|
      channel.close do |channel, method|
        done
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
amqp-0.8.0.rc12 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc11 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc10 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc9 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc8 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc7 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc6 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc5 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc4 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc3 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc2 spec/integration/channel_close_spec.rb
amqp-0.8.0.rc1 spec/integration/channel_close_spec.rb
amqp-0.8.0.pre.beta1 spec/integration/channel_close_spec.rb
amqp-0.8.0.beta1 spec/integration/channel_close_spec.rb