Sha256: 7d6d9362f0086ea87b4483e2291c5996d3e51822f2d4f5216ab9843f27ba33a0

Contents?: true

Size: 654 Bytes

Versions: 10

Compression:

Stored size: 654 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("2000-11-05 14:03:48 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2005-08-15 12:15:10")

#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 == "blade.wcic.co.za"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "sabertooth.wcic.co.za"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "ns2.iafrica.com"

Version data entries

10 entries across 10 versions & 1 rubygems

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