Sha256: cf6a0cc7855de905af645c596fa58b14edb08e8bb069d688557ab0f67c9a4382

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 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("2003-04-30 00:00:00")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2011-03-31 00:00:00")

#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

4 entries across 4 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.gg/status_registered.expected