Sha256: ca5fa35c027aacdbb9eb6b2128909be860c8d58aa900d41b9d4016b1b9822687

Contents?: true

Size: 971 Bytes

Versions: 10

Compression:

Stored size: 971 Bytes

Contents

#nameservers
  should: %s be_a(Array)
  should: %s have(6).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"
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "ns1.ext.nic.fr"
  should: %s[3].ipv4 == "193.51.208.13"
  should: %s[3].ipv6 == nil
  should: %s[4] be_a(_nameserver)
  should: %s[4].name == "ns4.ext.nic.fr"
  should: %s[4].ipv4 == "193.0.9.4"
  should: %s[4].ipv6 == "2001:67c:e0::4"
  should: %s[5] be_a(_nameserver)
  should: %s[5].name == "ns5.ext.nic.fr"
  should: %s[5].ipv4 == "206.167.244.5"
  should: %s[5].ipv6 == nil

Version data entries

10 entries across 10 versions & 1 rubygems

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