Sha256: d49ec46a3a247f14fe30ed35e632b6f168750c62e020662d44857fda8303f943

Contents?: true

Size: 816 Bytes

Versions: 10

Compression:

Stored size: 816 Bytes

Contents

#status
  should: %s == ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"]

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2002-04-19 23:15:57 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2009-03-17 09:40:30 UTC")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-04-18 23:59:59 UTC")


#nameservers
  should: %s be_a(Array)
  should: %s have(4).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns2.google.com"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "ns3.google.com"
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "ns4.google.com"

Version data entries

10 entries across 10 versions & 1 rubygems

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