Sha256: 6226f2941b9640a109e851b4fa52629d377e5c139c911f291d3cc510adc0316b
Contents?: true
Size: 344 Bytes
Versions: 3
Compression:
Stored size: 344 Bytes
Contents
require 'helper' class TestDnsblClient < Test::Unit::TestCase should "return no hits for 127.0.0.255" do c = DNSBL::Client.new res = c.lookup("127.0.0.255") assert_equal(0,res.length) end should "return all lists for 127.0.0.2" do c = DNSBL::Client.new res = c.lookup("127.0.0.2") assert(res.length >= c.dnsbls.length) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dnsbl-client-0.1.2 | test/test_dnsbl-client.rb |
dnsbl-client-0.1.1 | test/test_dnsbl-client.rb |
dnsbl-client-0.1.0 | test/test_dnsbl-client.rb |