Sha256: 84c03a7e30d7596242d2aa448971ee699a7c5447b996a50372c09dd5013feb3b

Contents?: true

Size: 557 Bytes

Versions: 7

Compression:

Stored size: 557 Bytes

Contents

#status
  should: %s == ["ok"]

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("1999-06-07 20:01:43")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2009-08-21 09:11:45")

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


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(2)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns2.google.com"

Version data entries

7 entries across 7 versions & 1 rubygems

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