Sha256: 8edaf8eba691ea81a37c94bdf0362777642ef1cb60c16a9a49d3865a7710e791

Contents?: true

Size: 535 Bytes

Versions: 2

Compression:

Stored size: 535 Bytes

Contents

require "spec_helper"


describe "HotBunnies.connect" do

  #
  # Examples
  #

  it "lets you specify requested heartbeat interval" do
    c1 = HotBunnies.connect(:requested_heartbeat => 10)
    c1.close
  end

  it "lets you specify connection timeout interval" do
    c1 = HotBunnies.connect(:connection_timeout => 3)
    c1.close
  end

  if !ENV["CI"] && ENV["TLS_TESTS"]
    it "supports TLS w/o custom protocol or trust manager" do
      c1 = HotBunnies.connect(:tls => true, :port => 5671)
      c1.close
    end    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hot_bunnies-1.5.0-java spec/integration/connection_spec.rb
hot_bunnies-1.4.0-java spec/integration/connection_spec.rb