Sha256: 3083c1e9df79b0fec65151a731b422b8504f7c898488d3b72ce17dd696902c06

Contents?: true

Size: 1.37 KB

Versions: 10

Compression:

Stored size: 1.37 KB

Contents

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

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-11-12")

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

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2011-11-12")


#registrar
  should: %s be_a(_registrar)
  should: %s.id           == "R01-REG-RF"
  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         == "R01 Personal Data Operator protected"
  should: %s[0].organization == nil
  should: %s[0].phone        == "+7 800 3020800"
  should: %s[0].fax          == nil
  should: %s[0].email        == "liderkubani@gmail.com"

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


#nameservers
  should: %s be_a(Array)
  should: %s have(3).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns1.redsoft.ru"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns2.redsoft.ru"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "ns2.r01.ru"

Version data entries

10 entries across 10 versions & 1 rubygems

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