Sha256: fa2cc41821b8a54529c5bccd0c970de30835a8c5ee3ad40fa04e39662c469c98

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

//  Description:
//  The contact property does not contain the job position, but it contains a multiple street.
//  The final token count is the same of a standard contact (8 tokens).

//  This case follows this schema:
//      
//    [NAME]
//    [ORGANIZATION]
//    [ADDRESS]*
//    [CITY, ST ZIP]
//    [COUNTRY]
//    [PHONE]
//    [EMAIL]

#technical_contacts
  should: %s CLASS(array)
  should: %s SIZE(1)
  should: %s[0] CLASS(contact)
  // should: %s[0].type          == ANYTHING
  should: %s[0].id            == nil
  should: %s[0].name          == "Information Technology\nEDUCAUSE"
  should: %s[0].organization  == nil
  should: %s[0].address       == "4772 Walnut Street\nSte 206"
  should: %s[0].city          == "Boulder"
  should: %s[0].zip           == "80301"
  should: %s[0].state         == "CO"
  should: %s[0].country       == "UNITED STATES"
  should: %s[0].country_code  == nil
  should: %s[0].phone         == "(303) 449-4430"
  should: %s[0].fax           == nil
  should: %s[0].email         == "netadmin@educause.edu"

Version data entries

4 entries across 4 versions & 1 rubygems

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