Sha256: 365588a34c11e392efe30ffb03b18fab4cba48a319e86f04f69e38100bb50628

Contents?: true

Size: 1.45 KB

Versions: 7

Compression:

Stored size: 1.45 KB

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2010-07-04 07:10:32")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2010-12-10 13:37:11")

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


#registrar
  should: %s CLASS(registrar)
  should: %s.id           == "fraktal"
  should: %s.name         == "fraktal"
  should: %s.organization == nil

#registrant_contacts
  should: %s CLASS(array)
  should: %s SIZE(1)
  should: %s[0] CLASS(contact)
  should: %s[0].type         == Whois::Record::Contact::TYPE_REGISTRANT
  should: %s[0].id           == "CID:FRAKTAL:1"
  should: %s[0].name         == "Priit Haamer"
  should: %s[0].organization == nil

#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           == "CID:FRAKTAL:7"
  should: %s[0].name         == "Tõnu Runnel"
  should: %s[0].organization == "Fraktal OÜ"

#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 == "ns3.edicy.net"
  should: %s[0].ipv4 == "82.129.24.69"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns4.edicy.net"
  should: %s[1].ipv4 == "82.199.86.42"

Version data entries

7 entries across 7 versions & 1 rubygems

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