Sha256: ebbc67d7c04e39a6aa0b8903f0c2ebc836a40e8c13dc1f90f0dc04634ba3499a

Contents?: true

Size: 987 Bytes

Versions: 4

Compression:

Stored size: 987 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("2012-05-01")

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


#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(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

4 entries across 4 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.nic.af/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.nic.af/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.nic.af/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.nic.af/status_registered.expected