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