Sha256: 5edfe8faaaf8c96ea9e9c0c6634212cbb2b2d076781c2cc9acd81259ae5d2a31
Contents?: true
Size: 947 Bytes
Versions: 4
Compression:
Stored size: 947 Bytes
Contents
# encoding: utf-8 # This file is autogenerated. Do not edit it manually. # If you want change the content of this file, edit # # /spec/fixtures/responses/whois.cira.ca/schema-2/property_status_available.expected # # and regenerate the tests with the following rake task # # $ rake genspec:parsers # require 'spec_helper' require 'whois/record/parser/whois.cira.ca.rb' describe Whois::Record::Parser::WhoisCiraCa, "property_status_available.expected" do before(:each) do file = fixture("responses", "whois.cira.ca/schema-2/property_status_available.txt") part = Whois::Record::Part.new(:body => File.read(file)) @parser = klass.new(part) end describe "#status" do it do @parser.status.should == :available end end describe "#available?" do it do @parser.available?.should == true end end describe "#registered?" do it do @parser.registered?.should == false end end end
Version data entries
4 entries across 4 versions & 1 rubygems