Sha256: 4a233536ab0f6d432c91368a2a47850d3a384a170cd38a720473733cb671eab4
Contents?: true
Size: 479 Bytes
Versions: 12
Compression:
Stored size: 479 Bytes
Contents
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 |client| @client = client client.should be_opened client.close do done end end end @client.should be_closed end end
Version data entries
12 entries across 12 versions & 1 rubygems