Sha256: 04e44bb1fcbafcbaaa45f01ac87865f5fd3c77fb83f9abf3955b10dff38fb62c

Contents?: true

Size: 1.54 KB

Versions: 4

Compression:

Stored size: 1.54 KB

Contents

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


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

#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 raise_error(Whois::PropertyNotSupported)

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

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2012-09-21")


#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 Hrvatska d.o.o."
  should: %s[0].organization  == nil
  should: %s[0].address       == "Primorska 26"
  should: %s[0].city          == "Zagreb"
  should: %s[0].zip           == "10 000"
  should: %s[0].state         == nil
  should: %s[0].country       == nil
  should: %s[0].country_code  == nil
  should: %s[0].phone         == nil
  should: %s[0].fax           == 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 raise_error(Whois::PropertyNotSupported)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.dns.hr/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.dns.hr/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.dns.hr/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.dns.hr/status_registered.expected