Sha256: ca06a3d089ec4b1d0fd1fff51ff4b076663d867987abc38819208de64c9bfd64

Contents?: true

Size: 656 Bytes

Versions: 5

Compression:

Stored size: 656 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("2001-11-10 15:23:42 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2002-04-04 17:48:43 UTC")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2003-07-31 11:00:00 GMT")


#nameservers
  should: %s be_a(Array)
  should: %s have(2).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "nic.frd.se"
  should: %s[0].ipv4 == nil
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "nic.museum"
  should: %s[1].ipv4 == "130.242.24.5"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whois-2.0.4 spec/fixtures/responses/whois.museum/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.museum/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.museum/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.museum/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.museum/status_registered.expected