Sha256: 2509bfd8df4e2187d7a79292ebbb841db95d9966d5b7bdc49b4c14d78351dff4
Contents?: true
Size: 508 Bytes
Versions: 10
Compression:
Stored size: 508 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 |connection| @connection = connection connection.should be_opened connection.disconnect do done end end end @connection.should be_closed end end
Version data entries
10 entries across 10 versions & 1 rubygems