Sha256: 234bd04902b64f63f9df1b1a0ec5a8223e4146e3f95fb525851a00abbe5814ca

Contents?: true

Size: 660 Bytes

Versions: 3

Compression:

Stored size: 660 Bytes

Contents

#domain
  should: %s == "google.af"

#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("2009-10-05")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2010-01-29")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2010-05-05")


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(2)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns2.google.com"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whois-2.5.1 spec/fixtures/responses/whois.nic.af/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.nic.af/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.nic.af/status_registered.expected