Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (29 sloc) 1.17 KB
# 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.domainregistry.ie/property_contacts_not_matching_id.expected
#
# and regenerate the tests with the following rake task
#
# $ rake spec:generate
#
require 'spec_helper'
require 'whois/record/parser/whois.domainregistry.ie.rb'
describe Whois::Record::Parser::WhoisDomainregistryIe, "property_contacts_not_matching_id.expected" do
subject do
file = fixture("responses", "whois.domainregistry.ie/property_contacts_not_matching_id.txt")
part = Whois::Record::Part.new(:body => File.read(file))
described_class.new(part)
end
describe "#technical_contacts" do
it do
subject.technical_contacts.should be_a(Array)
subject.technical_contacts.should have(1).items
subject.technical_contacts[0].should be_a(Whois::Record::Contact)
subject.technical_contacts[0].type.should == Whois::Record::Contact::TYPE_TECHNICAL
subject.technical_contacts[0].id.should == "KG37-IEDR"
subject.technical_contacts[0].name.should == "Michael McGovern"
end
end
end
Something went wrong with that request. Please try again.