Sha256: fd64a344bc674cba1f5da2ffadd9837fcd36efeb3141b29791d231082579ceb5

Contents?: true

Size: 600 Bytes

Versions: 7

Compression:

Stored size: 600 Bytes

Contents

#status
  should: %s == ["ok"]

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2002-01-31 22:12:44 UTC")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2007-01-17 23:58:04 UTC")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2012-01-31 22:12:44 UTC")


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

Version data entries

7 entries across 7 versions & 1 rubygems

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