Sha256: dddddf3d7f709c019fc04861c220d3f94e27b71779c3687df805ed622379b7bb

Contents?: true

Size: 660 Bytes

Versions: 7

Compression:

Stored size: 660 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2008-05-18")

#updated_on
  should: %s == nil

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2011-05-18")


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(4)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "ns2.google.com"
  should: %s[2] CLASS(nameserver)
  should: %s[2].name == "ns3.google.com"
  should: %s[3] CLASS(nameserver)
  should: %s[3].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.sl/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.nic.sl/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.nic.sl/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.nic.sl/status_registered.expected
whois-2.5.1 spec/fixtures/responses/whois.nic.sl/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.nic.sl/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.nic.sl/status_registered.expected