Sha256: f9753c2c82d0741333e85fb1c75c167ee359421ea3d21d6370ac30283d14beb2

Contents?: true

Size: 829 Bytes

Versions: 7

Compression:

Stored size: 829 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s CLASS(time)
  should: %s == Time.parse("2003-11-07")

#updated_on
  should: %s CLASS(time)
  should: %s == Time.parse("2010-05-16")

#expires_on
  should: %s CLASS(time)
  should: %s == Time.parse("2012-06-16")


#nameservers
  should: %s CLASS(array)
  should: %s SIZE(4)
  should: %s[0] CLASS(nameserver)
  should: %s[0].name == "agate.lut.ac.uk"
  should: %s[0].ipv4 == "158.125.1.100"
  should: %s[1] CLASS(nameserver)
  should: %s[1].name == "bgate.lut.ac.uk"
  should: %s[1].ipv4 == nil
  should: %s[2] CLASS(nameserver)
  should: %s[2].name == "cgate.lut.ac.uk"
  should: %s[2].ipv4 == nil
  should: %s[3] CLASS(nameserver)
  should: %s[3].name == "ns3.ja.net"
  should: %s[3].ipv4 == nil

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
whois-2.6.3 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.6.2 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.6.1 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.6.0 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.5.1 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.5.0 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.4.0 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected