Sha256: b361cab94c5145b75b0724ff04e614129efeee0d4463c1a4018a163eebde9833

Contents?: true

Size: 660 Bytes

Versions: 5

Compression:

Stored size: 660 Bytes

Contents

#status
  should: %s == ["ok"]

#available?
  should: %s == false

#registered?
  should: %s == true


#created_on
  should: %s be_a(Time)
  should: %s == Time.parse("2006-02-14 09:12:37 UTC")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2009-03-31 16:22:42 UTC")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2010-02-14 09:12:37 UTC")


#nameservers
  should: %s be_a(Array)
  should: %s have(2).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "dns2.gencat.cat"
  should: %s[0].ipv4 == "83.247.132.4"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "dns.gencat.net"
  should: %s[1].ipv4 == nil

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.cat/status_registered.expected