Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 548 Bytes
#status
should: %s == :registered
#available?
should: %s == false
#registered?
should: %s == true
#created_on
should: %s be_a(Time)
should: %s == Time.parse("20110630")
#updated_on
should: %s be_a(Time)
should: %s == Time.parse("20110630")
#expires_on
should: %s be_a(Time)
should: %s == Time.parse("20120630")
#nameservers
should: %s be_a(Array)
should: %s have(2).items
should: %s[0] be_a(_nameserver)
should: %s[0].name == "a.sec.dns.br"
should: %s[1] be_a(_nameserver)
should: %s[1].name == "b.sec.dns.br"
Something went wrong with that request. Please try again.