Sha256: 5b82eec556de546f1a1491ee9be44c67e1388922f72da068694052f322a61b43

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 GMT")

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

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


#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.0.4 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.cat/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.cat/status_registered.expected