Sha256: 1cde3597be7216cbed4615217b3b25df06a30a0737d9124c92daa283067d4468

Contents?: true

Size: 742 Bytes

Versions: 1

Compression:

Stored size: 742 Bytes

Contents

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

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2002-07-18 01:00:00 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2009-09-15 16:48:47 UTC")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-07-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

1 entries across 1 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.nic.la/status_registered.expected