Sha256: b5b2772a915ed4ea1a4a375aa0f361f73311b6b17c47de007c862993d4877cfc

Contents?: true

Size: 861 Bytes

Versions: 9

Compression:

Stored size: 861 Bytes

Contents

#status
  should: %s == :frozen

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2004-10-26")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2004-10-29")

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


#nameservers
  should: %s be_a(Array)
  should: %s have(3).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns1.nic.fr"
  should: %s[0].ipv4 == "192.134.4.1"
  should: %s[0].ipv6 == "2001:660:3003:2::4:1"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns2.nic.fr"
  should: %s[1].ipv4 == "192.93.0.4"
  should: %s[1].ipv6 == "2001:660:3005:1::1:2"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "ns3.nic.fr"
  should: %s[2].ipv4 == "192.134.0.49"
  should: %s[2].ipv6 == "2001:660:3006:1::1:1"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
whois-2.1.0 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.nic.fr/tf/status_registered.expected