Sha256: f9c974dd156937ffec1b8e3fa70be058c4651e74423d128c16f5d51e1ab9a910

Contents?: true

Size: 837 Bytes

Versions: 3

Compression:

Stored size: 837 Bytes

Contents

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

#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("2004-06-18 00:00:00")

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

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2011-06-18 00:00:00")


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

Version data entries

3 entries across 3 versions & 1 rubygems

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