Sha256: 2498319a283775e9ade152b5c78d9b0a72c223f1dc800d2baa456c1945d3ba99

Contents?: true

Size: 1.08 KB

Versions: 10

Compression:

Stored size: 1.08 KB

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-10-03 00:00:00")

#updated_on
  should: %s be_a(Time)
  should: %s == Time.parse("2009-05-27 00:00:00")

#expires_on
  should: %s be_a(Time)
  should: %s == Time.parse("2011-04-28 00:00:00")


#registrar
  should: %s be_a(_registrar)
  should: %s.id           == "70"
  should: %s.name         == "Webnames.ca Inc."
  should: %s.organization == "Webnames.ca Inc."
  should: %s.url          == nil


#nameservers
  should: %s be_a(Array)
  should: %s have(4).items
  should: %s[0] be_a(_nameserver)
  should: %s[0].name == "ns1.google.com"
  should: %s[0].ipv4 == "216.239.32.10"
  should: %s[1] be_a(_nameserver)
  should: %s[1].name == "ns2.google.com"
  should: %s[1].ipv4 == "216.239.34.10"
  should: %s[2] be_a(_nameserver)
  should: %s[2].name == "ns3.google.com"
  should: %s[2].ipv4 == "216.239.36.10"
  should: %s[3] be_a(_nameserver)
  should: %s[3].name == "ns4.google.com"
  should: %s[3].ipv4 == "216.239.38.10"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.2.0 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.1.0 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.7 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.6 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.5 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.4 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.3 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.2 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.1 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected
whois-2.0.0 spec/fixtures/responses/whois.cira.ca/schema-1/status_registered.expected