Sha256: 156ff50d8d1abe3fe95d2a265cefa9a4147760b05bea8286d2d4df3b920a15f1
Contents?: true
Size: 521 Bytes
Versions: 18
Compression:
Stored size: 521 Bytes
Contents
require 'spec_helper' require 'integration/eventmachine/spec_helper' describe AMQ::Client::EventMachineClient, "handling immediate disconnection" do include EventedSpec::SpecHelper default_timeout 4 after :all do done end it "successfully disconnects" do em_amqp_connect do EventMachine.run do c = described_class.connect c.disconnect do puts "Disconnection callback has fired!" done end end end # em_amqp_connect end # it end # describe
Version data entries
18 entries across 18 versions & 1 rubygems