Sha256: b81765dcb5b72f8c0f4bfcfe76e648d53d1629bd34595899e60b4c8952b5a17f
Contents?: true
Size: 540 Bytes
Versions: 32
Compression:
Stored size: 540 Bytes
Contents
# encoding: utf-8 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
32 entries across 32 versions & 1 rubygems