Sha256: 4c8a943188fc388070a8ca0164e234cad6ee26afe2a465bd678a5a197d1b40b2

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

#status
  should: %s == ["REGISTERED", "DELEGATED", "UNVERIFIED"]

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2005-10-16")

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

#expires_on
  should: %s CLASS(time)
  should: %s ==Time.parse("2010-10-16")


#registrar
  should: %s CLASS(registrar)
  should: %s.id           == "RUCENTER-REG-FID"
  should: %s.name         == nil
  should: %s.organization == nil

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

#admin_contacts
  should: %s CLASS(array)
  should: %s SIZE(1)
  should: %s[0] CLASS(contact)
  should: %s[0].type         == Whois::Record::Contact::TYPE_ADMIN
  should: %s[0].id           == nil
  should: %s[0].name         == "Private Person"
  should: %s[0].phone        == "+7 495 9681807"
  should: %s[0].fax          == "+7 495 9681807"
  should: %s[0].email        == "cis@cis.su"

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


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(2)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "ns1073.hostgator.com"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns1074.hostgator.com"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.5.1 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected