Sha256: 184bda678026bef3a087ad95941b64d3476788540d993ec274609fc27690664f
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 KB
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.markmonitor.com/properties_empty_contacts.expected # # and regenerate the tests with the following rake task # # $ rake genspec:parsers # require 'spec_helper' require 'whois/record/parser/whois.markmonitor.com.rb' describe Whois::Record::Parser::WhoisMarkmonitorCom, "properties_empty_contacts.expected" do before(:each) do file = fixture("responses", "whois.markmonitor.com/properties_empty_contacts.txt") part = Whois::Record::Part.new(:body => File.read(file)) @parser = klass.new(part) end describe "#registrar" do it do @parser.registrar.should be_a(_registrar) @parser.registrar.id.should == nil @parser.registrar.name.should == "Markmonitor.com" @parser.registrar.url.should == "http://www.markmonitor.com" end end describe "#registrant_contacts" do it do @parser.registrant_contacts.should be_a(Array) @parser.registrant_contacts.should have(0).items end end describe "#admin_contacts" do it do @parser.admin_contacts.should be_a(Array) @parser.admin_contacts.should have(0).items end end describe "#technical_contacts" do it do @parser.technical_contacts.should be_a(Array) @parser.technical_contacts.should have(0).items end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whois-2.0.7 | spec/whois/record/parser/responses/whois.markmonitor.com/properties_empty_contacts_spec.rb |