Sha256: e108e266ee9091bddaf11f5b23cea3e8454c9df725499d16ea62858e622bd635

Contents?: true

Size: 754 Bytes

Versions: 7

Compression:

Stored size: 754 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


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

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

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


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(4)
  should: %s[0] CLASS(nameserver)
  should: %s[0] == _nameserver.new(:name => "ns1.google.com")
  should: %s[1] CLASS(nameserver)
  should: %s[1] == _nameserver.new(:name => "ns2.google.com")
  should: %s[2] CLASS(nameserver)
  should: %s[2] == _nameserver.new(:name => "ns3.google.com")
  should: %s[3] CLASS(nameserver)
  should: %s[3] == _nameserver.new(:name => "ns4.google.com")

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.nic.ch/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.nic.ch/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.nic.ch/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.nic.ch/status_registered.expected
whois-2.5.1 spec/fixtures/responses/whois.nic.ch/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.nic.ch/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.nic.ch/status_registered.expected