Sha256: 38457f7783555f2835830b9e281600f3ea8b3ad24caa9cc65bdb4032a320c67a
Contents?: true
Size: 461 Bytes
Versions: 10
Compression:
Stored size: 461 Bytes
Contents
require "spec_helper" describe Bunny::Transport, ".reachable?" do it "returns true for google.com, 80" do Bunny::Transport.reacheable?("google.com", 80, 1).should be_true end it "returns true for google.com, 8088" do Bunny::Transport.reacheable?("google.com", 8088, 1).should be_false end it "returns false for google1237982792837.com, 8277" do Bunny::Transport.reacheable?("google1237982792837.com", 8277, 1).should be_false end end
Version data entries
10 entries across 10 versions & 1 rubygems