Sha256: d0d4bfd05f9317eb380dfe24251e8aeed655af901fcb951529634105a116f805

Contents?: true

Size: 533 Bytes

Versions: 32

Compression:

Stored size: 533 Bytes

Contents

# encoding: utf-8

require 'spec_helper'
require 'integration/coolio/spec_helper'

describe "AMQ::Client::CoolioClient", "Connection.Close", :nojruby => true do
  include EventedSpec::SpecHelper
  default_timeout 0.5

  it "should issue a callback and close connection" do
    coolio do
      AMQ::Client::CoolioClient.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

Version Path
amq-client-0.9.0 spec/integration/coolio/connection_close_spec.rb
amq-client-0.9.0.pre2 spec/integration/coolio/connection_close_spec.rb
amq-client-0.9.0.pre1 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.7 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.7.pre1 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.6 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.5 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.4 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.3 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.2 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.1 spec/integration/coolio/connection_close_spec.rb
amq-client-0.8.0 spec/integration/coolio/connection_close_spec.rb