Sha256: d3d1719b8596d2effe3aab52c0507754e74aacc0fae12927071e0e0cc42ff081

Contents?: true

Size: 799 Bytes

Versions: 4

Compression:

Stored size: 799 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("1999-02-17 00:00:00 +13:00")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2012-01-16 23:16:18 +13:00")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2013-02-17 00:00:00 +13: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"


#response_throttled?
  should: %s == false

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.srs.net.nz/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.srs.net.nz/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.srs.net.nz/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.srs.net.nz/status_registered.expected