Sha256: 8db728924e797b2068b95d768455273ddb5fae7d15f08299fc245e15613bf6c1

Contents?: true

Size: 607 Bytes

Versions: 9

Compression:

Stored size: 607 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


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

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

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


#nameservers
  should: %s be_a(Array)
  should: %s have(2).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns1.calgarycoop.net"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns2.calgarycoop.net"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
whois-2.1.0 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.nic.coop/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.nic.coop/status_registered.expected