Sha256: cea728a20b49c59e1c2c45f06ae85f90aa078ba32fcbd82dbe3d38f599e43026

Contents?: true

Size: 778 Bytes

Versions: 10

Compression:

Stored size: 778 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("1998-03-11")

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

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-07-31")


#nameservers
  should: %s be_a(Array)
  should: %s have(3).items
  should: %s[0] be_a(_nameserver)
  should: %s[0] == _nameserver.new(:name => "ns3.educause.edu", :ipv4 => "198.59.61.50")
  should: %s[1] be_a(_nameserver)
  should: %s[1] == _nameserver.new(:name => "ns4.educause.edu", :ipv4 => "192.52.179.69")
  should: %s[2] be_a(_nameserver)
  should: %s[2] == _nameserver.new(:name => "ns5.educause.edu", :ipv4 => "198.59.61.50")

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.educause.edu/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.educause.edu/status_registered.expected