Sha256: 68835827acf88a1bc0bc1c9e0327d943b6e9c5aad9622610cd942add99b3b3b9

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

require "spec_helper"

describe Bunny::Session do
  4000.times do |i|
    it "can be closed (take #{i})" 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bunny-0.9.6 spec/higher_level_api/integration/connection_stop_spec.rb