Sha256: 85e61732775218ba655571f55bcec1d5a192b202a0e24a3a0c69d414c5ed99a7
Contents?: true
Size: 939 Bytes
Versions: 7
Compression:
Stored size: 939 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.nic.it/property_status_pending-delete.expected # # and regenerate the tests with the following rake task # # $ rake spec:generate # require 'spec_helper' require 'whois/record/parser/whois.nic.it.rb' describe Whois::Record::Parser::WhoisNicIt, "property_status_pending-delete.expected" do before(:each) do file = fixture("responses", "whois.nic.it/property_status_pending-delete.txt") part = Whois::Record::Part.new(:body => File.read(file)) @parser = klass.new(part) end describe "#status" do it do @parser.status.should == :redemption end end describe "#available?" do it do @parser.available?.should == false end end describe "#registered?" do it do @parser.registered?.should == true end end end
Version data entries
7 entries across 7 versions & 1 rubygems