Sha256: 1472a03087adbe8cd4215e1a467819afd4cbd90534f6dd48da25194545424ba0

Contents?: true

Size: 690 Bytes

Versions: 3

Compression:

Stored size: 690 Bytes

Contents

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

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


#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("1999-06-04 08:00 AST")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2010-05-11 18:45 AST")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2011-06-04 08:00 AST")


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(2)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns2.google.com"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whois-2.5.1 spec/fixtures/responses/whois.nic.ms/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.nic.ms/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.nic.ms/status_registered.expected