Sha256: 6fd6d88143453a930a7fe5a56bfd79c2d28db726b8aae3c1910491c2f2a6c654

Contents?: true

Size: 672 Bytes

Versions: 8

Compression:

Stored size: 672 Bytes

Contents

#status
  should: %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2003-03-07 05:00:00 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2009-01-30 16:14:32 UTC")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-03-07 05:00:00 UTC")


#nameservers
  should: %s be_a(Array)
  should: %s have(2).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"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
whois-2.0.7 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.afilias-grs.info/hn/status_registered.expected