Sha256: 52493bb0dc9c8e032f5d188e67de8b8aadff79636ad0cf2e856dff33bef40f5e
Contents?: true
Size: 809 Bytes
Versions: 4
Compression:
Stored size: 809 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.cc/property_nameserver_no_nameserver.expected # # and regenerate the tests with the following rake task # # $ rake genspec:parsers # require 'spec_helper' require 'whois/record/parser/whois.nic.cc.rb' describe Whois::Record::Parser::WhoisNicCc, "property_nameserver_no_nameserver.expected" do before(:each) do file = fixture("responses", "whois.nic.cc/property_nameserver_no_nameserver.txt") part = Whois::Record::Part.new(:body => File.read(file)) @parser = klass.new(part) end describe "#nameservers" do it do @parser.nameservers.should be_a(Array) @parser.nameservers.should == [] end end end
Version data entries
4 entries across 4 versions & 1 rubygems