Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (30 sloc) 0.876 kB
#status
should: %s == :registered
#available?
should: %s == false
#registered?
should: %s == true
#created_on
should: %s CLASS(time)
should: %s == Time.parse("2010-06-03 03:34:05")
#updated_on
should: %s CLASS(time)
should: %s == Time.parse("2011-07-12 12:52:57")
#expires_on
should: %s CLASS(time)
should: %s == Time.parse("2014-01-03")
#registrar
should: %s raise_error(Whois::PropertyNotSupported)
#nameservers
should: %s CLASS(array)
should: %s SIZE(5)
should: %s[0] CLASS(nameserver)
should: %s[0].name == "ns1.gratisdns.dk"
should: %s[1] CLASS(nameserver)
should: %s[1].name == "ns2.gratisdns.dk"
should: %s[2] CLASS(nameserver)
should: %s[2].name == "ns3.gratisdns.dk"
should: %s[3] CLASS(nameserver)
should: %s[3].name == "ns4.gratisdns.dk"
should: %s[4] CLASS(nameserver)
should: %s[4].name == "ns5.gratisdns.dk"
Jump to Line
Something went wrong with that request. Please try again.