Sha256: 0c407d323dcb0d70769cbb7dae4ad73403e8f2885f10fa1cad93117080ea6ab9
Contents?: true
Size: 527 Bytes
Versions: 32
Compression:
Stored size: 527 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require 'integration/eventmachine/spec_helper' describe AMQ::Client::EventMachineClient, "Connection.Close" do include EventedSpec::SpecHelper default_timeout 0.5 it "should issue a callback and close connection" do em do AMQ::Client::EventMachineClient.connect do |connection| @connection = connection connection.should be_opened connection.disconnect do done end end end @connection.should be_closed end end
Version data entries
32 entries across 32 versions & 1 rubygems