Sha256: 0a7e2c71c4db8ffc949137d5bed0d4527bc495e74449b302554e22e0b434cb92

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 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-10-31 00:00:00 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2011-10-05 14:28:00 UTC")

#expires_on
  should: %s raise_error(Whois::PropertyNotSupported)


#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 == "ns4.google.com"
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "ns3.google.com"

Version data entries

1 entries across 1 versions & 1 rubygems

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