Sha256: 0e5f46e2ec71c93929f4dd58c0e63b3b81c89dcc01debeb7a159605ee8c310b3

Contents?: true

Size: 1.43 KB

Versions: 7

Compression:

Stored size: 1.43 KB

Contents

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


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

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


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

#referral_whois
  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("2003-04-01")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2012-03-08")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2013-04-01")


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

#registrant_contacts
  should: %s CLASS(array)
  should: %s SIZE(1)
  should: %s[0] CLASS(contact)
  should: %s[0].type          == Whois::Record::Contact::TYPE_REGISTRANT
  should: %s[0].id            == nil
  should: %s[0].name          == "Google Inc."
  should: %s[0].address       == nil
  should: %s[0].email         == nil

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

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


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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected
whois-2.5.1 spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.nic.lk/lk/status_registered.expected