Sha256: a16e6bf86593c5ca6b12f717e2a72d413038889584c93b75413b741f66b808b5

Contents?: true

Size: 353 Bytes

Versions: 64

Compression:

Stored size: 353 Bytes

Contents

require "spec_helper"

describe Bunny::Session do
  context "with unreachable host" do
    it "raises Bunny::TCPConnectionFailed" do
      begin
        conn = Bunny.new(:hostname => "192.192.192.192")
        conn.start

        fail "expected 192.192.192.192 to be unreachable"
      rescue Bunny::TCPConnectionFailed => e
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
bunny-2.0.0 spec/issues/issue202_spec.rb
bunny-2.0.0.rc2 spec/issues/issue202_spec.rb
bunny-2.0.0.rc1 spec/issues/issue202_spec.rb
bunny-1.7.0 spec/issues/issue202_spec.rb
bunny-1.6.3 spec/issues/issue202_spec.rb
bunny-1.6.2 spec/issues/issue202_spec.rb
bunny-1.6.1 spec/issues/issue202_spec.rb
bunny-1.6.0 spec/issues/issue202_spec.rb
bunny-1.5.1 spec/issues/issue202_spec.rb
bunny-1.6.0.rc2 spec/issues/issue202_spec.rb
bunny-1.6.0.rc1 spec/issues/issue202_spec.rb
bunny-1.6.0.pre1 spec/issues/issue202_spec.rb
bunny-1.5.0 spec/issues/issue202_spec.rb
bunny-1.5.0.pre2 spec/issues/issue202_spec.rb
bunny-1.5.0.pre1 spec/issues/issue202_spec.rb
bunny-1.4.1 spec/issues/issue202_spec.rb
bunny-1.4.0 spec/issues/issue202_spec.rb
bunny-1.3.1 spec/issues/issue202_spec.rb
bunny-1.3.0 spec/issues/issue202_spec.rb
bunny-1.2.2 spec/issues/issue202_spec.rb