Sha256: 6aabc51e3c5004843ce1fea35bce808c51cdf0202120f369e2be7fe16f7e19b4

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 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.crsnic.net/property_registrar_with_multiple_entries.expected
#
# and regenerate the tests with the following rake task
#
#   $ rake spec:generate
#

require 'spec_helper'
require 'whois/record/parser/whois.crsnic.net.rb'

describe Whois::Record::Parser::WhoisCrsnicNet, "property_registrar_with_multiple_entries.expected" do

  before(:each) do
    file = fixture("responses", "whois.crsnic.net/property_registrar_with_multiple_entries.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(Whois::Record::Registrar)
      @parser.registrar.id.should           == nil
      @parser.registrar.name.should         == "MARKMONITOR INC."
      @parser.registrar.organization.should == "MARKMONITOR INC."
      @parser.registrar.url.should          == "http://www.markmonitor.com"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
whois-2.6.3 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb
whois-2.6.2 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb
whois-2.6.1 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb
whois-2.6.0 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb
whois-2.5.1 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb
whois-2.5.0 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb
whois-2.4.0 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb
whois-2.3.0 spec/whois/record/parser/responses/whois.crsnic.net/property_registrar_with_multiple_entries_spec.rb