Sha256: 52e14b116bd4df10de954d75757e7efd6abbf80d8f1f22b751977e8329716019

Contents?: true

Size: 548 Bytes

Versions: 7

Compression:

Stored size: 548 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2003-04-28")

#updated_on
  should: %s raise_error(Whois::PropertyNotSupported)

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2020-04-28")


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(2)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "ns1.everydns.net"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns2.everydns.net"

Version data entries

7 entries across 7 versions & 1 rubygems

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