Sha256: a86406283d263c1f75c6d363469da5fef08ee3c778aced2b81f68343a77df9ae

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 Bytes

Contents

#domain
  should: %s == "baidu.com.sb"

#domain_id
  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("2010-03-27")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2011-07-18")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2012-03-27")


#nameservers
  should: %s be_a(Array)
  should: %s have(2).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "f1g1ns1.dnspod.net"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "f1g1ns2.dnspod.net"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.nic.net.sb/status_registered.expected