Sha256: 0f7eb994e44aaaf057fcbaeacaee5acbae0310b575209eb2772c3798590fc5b6

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

//  Description:
//  The contact property contains an empty organization name.
//  The final token count is the same of a standard contact (8 tokens).

//  This case follows this schema:
//      
//    [NAME]
//    [ROLE]
//    [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          == "Domain Admin\nStanford University"
  should: %s[0].organization  == nil
  should: %s[0].address       == "241 Panama Street Pine Hall, Room 115"
  should: %s[0].city          == "Stanford"
  should: %s[0].zip           == "94305-4122"
  should: %s[0].state         == "CA"
  should: %s[0].country       == "UNITED STATES"
  should: %s[0].country_code  == nil
  should: %s[0].phone         == "(650) 723-4328"
  should: %s[0].fax           == nil
  should: %s[0].email         == "sunet-admin@stanford.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_case2.expected
whois-2.6.2 spec/fixtures/responses/whois.educause.edu/property_contacts_case2.expected
whois-2.6.1 spec/fixtures/responses/whois.educause.edu/property_contacts_case2.expected
whois-2.6.0 spec/fixtures/responses/whois.educause.edu/property_contacts_case2.expected