Sha256: 4528824705838a70397773eac8dc54a286a7ecd6b9f4b1d81569d6c6a863338b

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

#domain
  should: %s == "google.af"

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


#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2009-10-05")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-01-29")

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


#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

1 entries across 1 versions & 1 rubygems

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