Sha256: 6c3747da7af4bf7255a28aab09e16fb47aae74621a6c7ffbce3f442dfbfd63ae

Contents?: true

Size: 1.26 KB

Versions: 10

Compression:

Stored size: 1.26 KB

Contents

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

#available?
  should: %s == false

#registered?
  should: %s == true


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

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

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


#registrar
  should: %s be_a(_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 be_a(Array)
  should: %s have(1).items
  should: %s[0] be_a(_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 be_a(Array)
  should: %s have(2).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns1073.hostgator.com"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns1074.hostgator.com"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.tcinet.ru/su/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.ripn.net/su/status_registered.expected