Sha256: a57ec63adee1125fa93d43cb1dd5b39c53f1b1bf746ea6921baa02948c19b3a5

Contents?: true

Size: 831 Bytes

Versions: 10

Compression:

Stored size: 831 Bytes

Contents

#status
  should: %s == :registered

#available?
  should: %s == false

#registered?
  should: %s == true


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

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

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


#nameservers
  should: %s be_a(Array)
  should: %s have(4).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "agate.lut.ac.uk"
  should: %s[0].ipv4 == "158.125.1.100"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "bgate.lut.ac.uk"
  should: %s[1].ipv4 == nil
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "cgate.lut.ac.uk"
  should: %s[2].ipv4 == nil
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "ns3.ja.net"
  should: %s[3].ipv4 == nil

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.ja.net/ac.uk/status_registered.expected