Sha256: 99a4e792b14f3639f1622dc5fa2eddf01f5438fde73e04c597cb11cbdc085428

Contents?: true

Size: 675 Bytes

Versions: 6

Compression:

Stored size: 675 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 be_a(Array)
  should: %s have(4).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns4.google.com"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "ns2.google.com"
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "ns3.google.com"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
whois-2.0.5 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.gg/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.gg/status_registered.expected