Sha256: 664a2ca7430503cb5a91126a85565b52a556701e9d62abd42a9c81ee254b2c35

Contents?: true

Size: 753 Bytes

Versions: 8

Compression:

Stored size: 753 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("2002-03-26 06:48:27 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2008-03-05 14:32:18 UTC")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-03-26 06:48:27 UTC")


#nameservers
  should: %s be_a(Array)
  should: %s have(4).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "dns2.srilankan.aero"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "dns1.srilankan.aero"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "s1.ns.slt.lk"
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "s2.ns.slt.lk"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
whois-2.0.7 spec/fixtures/responses/whois.aero/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.aero/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.aero/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.aero/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.aero/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.aero/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.aero/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.aero/status_registered.expected