Sha256: 5d4befcb21aedbf470b23d403158a213a7d89128d5fe8e1c2e81ad3ff67bf9f4
Contents?: true
Size: 651 Bytes
Versions: 4
Compression:
Stored size: 651 Bytes
Contents
require 'spec_helper' require 'integration/coolio/spec_helper' describe "AMQ::Client::Coolio", "Channel.Close", :nojruby => true do include EventedSpec::SpecHelper default_timeout 1 it "should close the channel" do @events = [] coolio_amqp_connect do |client| @events << :connect channel = AMQ::Client::Channel.new(client, 1) channel.open do @events << :open channel.close do @events << :close client.disconnect do @events << :disconnect done end end end end @events.should == [:connect, :open, :close, :disconnect] end end
Version data entries
4 entries across 4 versions & 1 rubygems