Sha256: 900cb9a432a5da8542b3fb33a4d30d8ab207448e48e9faf2889ab8ebdd686b8f
Contents?: true
Size: 841 Bytes
Versions: 2
Compression:
Stored size: 841 Bytes
Contents
require 'helper' class TestDemandbase < Test::Unit::TestCase should "get a record for Stanford University" do #assert_equal 'Stanford University', Demandbase::lookup_domain('stanford.edu') end should "get a record for the University of Strathclyde" do end should "get a record for a GitHub's IP address" do end should "recognize IP addresses" do end should "recognize domain names" do end should "handle multiple formats" do queries = [ "microsoft.com", "www.microsoft.com", "developer.hacks.microsoft.com", "http://www.microsoft.com", "https://www.microsofot.com", "william.gates@microsoft.com", "microsoft.co.uk" ] end should "return nothing when no record is found" do end should "throw an exception when the service is down" do end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
demandbase-0.1.3 | test/test_demandbase.rb |
demandbase-0.1.2 | test/test_demandbase.rb |