Sha256: 27305fe4cc3fa378d507eb46d3328c5824094b0cf70b9ce0a3784af399cee786

Contents?: true

Size: 1.52 KB

Versions: 5

Compression:

Stored size: 1.52 KB

Contents

#domain
  should: %s == "google.biz"

#domain_id
  should: %s == "D2835288-BIZ"


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

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


#status
  should: %s == %w( clientDeleteProhibited clientTransferProhibited clientUpdateProhibited )

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2002-03-27 00:01:00 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2009-03-01 12:01:04 UTC")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-03-26 23:59:59 UTC")


#registrar
  should: %s be_a(_registrar)
  should: %s.id           == "292"
  should: %s.name         == "MARKMONITOR, INC."

#registrant_contacts
  should: %s be_a(Array)
  should: %s have(1).items
  should: %s[0] be_a(_contact)

#admin_contacts
  should: %s be_a(Array)
  should: %s have(1).items
  should: %s[0] be_a(_contact)

#technical_contacts
  should: %s be_a(Array)
  should: %s have(1).items
  should: %s[0] be_a(_contact)


#nameservers
  should: %s be_a(Array)
  should: %s have(4).items
  should: %s[0] be_a(_nameserver)
  should: %s[0] == _nameserver.new(:name => "ns1.google.com")
  should: %s[1] be_a(_nameserver)
  should: %s[1] == _nameserver.new(:name => "ns2.google.com")
  should: %s[2] be_a(_nameserver)
  should: %s[2] == _nameserver.new(:name => "ns3.google.com")
  should: %s[3] be_a(_nameserver)
  should: %s[3] == _nameserver.new(:name => "ns4.google.com")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.biz/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.biz/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.biz/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.biz/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.biz/status_registered.expected