Sha256: 4470eb4afaea9f7ff18e58065a0098508255d79acf3ae2c2191c0cf5ccf658e6

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

require "spec_helper"

describe Bunny::Session do
  it "can be closed" do
    c  = Bunny.new(:automatically_recover => false)
    c.start
    ch = c.create_channel

    c.should be_connected
    c.stop
    c.should be_closed
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bunny-0.10.1 spec/higher_level_api/integration/connection_stop_spec.rb
bunny-0.10.0 spec/higher_level_api/integration/connection_stop_spec.rb
bunny-1.0.0.pre3 spec/higher_level_api/integration/connection_stop_spec.rb
bunny-0.9.8 spec/higher_level_api/integration/connection_stop_spec.rb
bunny-1.0.0.pre2 spec/higher_level_api/integration/connection_stop_spec.rb
bunny-0.9.7 spec/higher_level_api/integration/connection_stop_spec.rb