Sha256: dcb133ee600375bd899ac81af177cfd1f67855fbf1a84e767fc4b449c534906b

Contents?: true

Size: 1.01 KB

Versions: 10

Compression:

Stored size: 1.01 KB

Contents

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

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


#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2008-04-25")

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

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


#nameservers
  should: %s be_a(Array)
  should: %s have(6).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns0.centralnic-dns.com"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns1.centralnic-dns.com"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "ns2.centralnic-dns.com"
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "ns3.centralnic-dns.com"
  should: %s[4] be_a(_nameserver)
  should: %s[4].name == "ns4.centralnic-dns.com"
  should: %s[5] be_a(_nameserver)
  should: %s[5].name == "ns5.centralnic-dns.com"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected