Sha256: 50f1ff5d4e79f69dfc41f25c8436232d039720ac417c650cc1f2a68f492d22e1

Contents?: true

Size: 1.76 KB

Versions: 7

Compression:

Stored size: 1.76 KB

Contents

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

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2004-03-04")

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

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2011-03-05")


#registrar
  should: %s CLASS(registrar)
  should: %s.id           == "RUCENTER-REG-RIPN"
  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(2)
  should: %s[0] CLASS(contact)
  should: %s[0].type         == Whois::Record::Contact::TYPE_ADMIN
  should: %s[0].id           == nil
  should: %s[0].name         == nil
  should: %s[0].organization == "Google Inc"
  should: %s[0].phone        == "+1 650 330 0100"
  should: %s[0].fax          == "+1 650 618 8571"
  should: %s[0].email        == "dns-admin@google.com"
  should: %s[1].type         == Whois::Record::Contact::TYPE_ADMIN
  should: %s[1].id           == nil
  should: %s[1].name         == nil
  should: %s[1].organization == "Google Inc"
  should: %s[1].phone        == "+1 650 330 0100"
  should: %s[1].fax          == "+1 650 618 8571"
  should: %s[1].email        == "ccops@markmonitor.com"

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


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(4)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns2.google.com"
  should: %s[2] CLASS(nameserver)
  should: %s[2].name == "ns3.google.com"
  should: %s[3] CLASS(nameserver)
  should: %s[3].name == "ns4.google.com"

Version data entries

7 entries across 7 versions & 1 rubygems

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