Sha256: e806128d2cffd4f0d2c48c66077e4dfb2f6475021b292b8712d66d175871447d

Contents?: true

Size: 702 Bytes

Versions: 10

Compression:

Stored size: 702 Bytes

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("2007-06-29")

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

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


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

Version data entries

10 entries across 10 versions & 1 rubygems

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