Sha256: b160de956052c29ab2b1dc6664fff908cf64df496a429c04d41e4e97c3e7ec82

Contents?: true

Size: 788 Bytes

Versions: 7

Compression:

Stored size: 788 Bytes

Contents

#status
  should: %s == ["serverDeleteProhibited", "serverTransferProhibited"]

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2011-01-24 02:22:24 UTC")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2011-01-25 04:20:26 UTC")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2014-01-24 02:22:24 UTC")


#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

7 entries across 7 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.nic.so/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.nic.so/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.nic.so/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.nic.so/status_registered.expected
whois-2.5.1 spec/fixtures/responses/whois.nic.so/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.nic.so/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.nic.so/status_registered.expected