Sha256: b0003db21ebf8f9dd77aa2b53a4e350b82e8e2e030aa5ca7fa9da07618a30bfb

Contents?: true

Size: 885 Bytes

Versions: 4

Compression:

Stored size: 885 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2009-05-13 15:27 WAT")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2010-07-02 20:06 WAT")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2020-07-31 00:00 WAT")


#registrar
  should: %s CLASS(registrar)
  should: %s.id           == nil
  should: %s.name         == "nira"
  should: %s.url          == nil


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(4)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "rns1.nic.net.ng"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "rns2.nic.net.ng"
  should: %s[2] CLASS(nameserver)
  should: %s[2].name == "rns3.nic.net.ng"
  should: %s[3] CLASS(nameserver)
  should: %s[3].name == "rns4.nic.net.ng"

Version data entries

4 entries across 4 versions & 1 rubygems

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