Sha256: fb0fbcbd13e690e1a4894c326fd06a4d84eeb5f6f77602237af5a0218f1e177e

Contents?: true

Size: 858 Bytes

Versions: 4

Compression:

Stored size: 858 Bytes

Contents

//  Description:
//  The registrant contact property is missing the address.

//  This case follows this schema:
//      
//    [ORGANIZATION]
//    [CITY, ST ZIP]
//    [COUNTRY]

#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          == nil
  should: %s[0].organization  == "Massachusetts Institute of Technology"
  should: %s[0].address       == nil
  should: %s[0].city          == "Cambridge"
  should: %s[0].zip           == "02139"
  should: %s[0].state         == "MA"
  should: %s[0].country       == "UNITED STATES"
  should: %s[0].country_code  == nil
  should: %s[0].phone         == nil
  should: %s[0].fax           == nil
  should: %s[0].email         == nil

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_address.expected
whois-2.6.2 spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_address.expected
whois-2.6.1 spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_address.expected
whois-2.6.0 spec/fixtures/responses/whois.educause.edu/property_contact_registrant_without_address.expected