Sha256: 2aa4be6becd3a897b588f516ba04165d082f156eb4f38d2c00b5134cf0bce12e

Contents?: true

Size: 992 Bytes

Versions: 4

Compression:

Stored size: 992 Bytes

Contents

//  Description:
//  The registrant contact property contains additional tokens in the organization.
//  For the sake of simplicity, these tokens are attached to the address.

//  This case follows this schema:
//      
//    [ORGANIZATION]
//    [ADDRESS]*
//    [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  == "Harvard University"
  should: %s[0].address       == "HUIT Network Services\n60 Oxford Street"
  should: %s[0].city          == "Cambridge"
  should: %s[0].zip           == "02138"
  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_with_additional_organization.expected
whois-2.6.2 spec/fixtures/responses/whois.educause.edu/property_contact_registrant_with_additional_organization.expected
whois-2.6.1 spec/fixtures/responses/whois.educause.edu/property_contact_registrant_with_additional_organization.expected
whois-2.6.0 spec/fixtures/responses/whois.educause.edu/property_contact_registrant_with_additional_organization.expected