Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (31 sloc) 837 Bytes
#domain
should: %s == "google.na"
#domain_id
should: %s raise_error(Whois::PropertyNotSupported)
#status
should: %s == :registered
#available?
should: %s == false
#registered?
should: %s == true
#created_on
should: %s CLASS(time)
should: %s == Time.parse("2007-03-28")
#updated_on
should: %s CLASS(time)
should: %s == Time.parse("2012-03-19")
#expires_on
should: %s CLASS(time)
should: %s == Time.parse("2012-08-20")
#registrar
should: %s CLASS(registrar)
should: %s.id == nil
should: %s.name == "MarkMonitor"
should: %s.url == "http://www.markmonitor.com"
#nameservers
should: %s CLASS(array)
should: %s SIZE(2)
should: %s[0] CLASS(nameserver)
should: %s[0].name == "ns2.google.com"
should: %s[1] CLASS(nameserver)
should: %s[1].name == "ns1.google.com"
Something went wrong with that request. Please try again.