Sha256: 163c02eb44dd5a43bea0e26869c5b7e9ec2531315785febb0823be1f3b999140
Contents?: true
Size: 840 Bytes
Versions: 2
Compression:
Stored size: 840 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.1 | test/test_demandbase.rb |
demandbase-0.1.0 | test/test_demandbase.rb |