Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

99 lines (93 sloc) 2.109 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.nic.pw/status_available.expected
#
# and regenerate the tests with the following rake task
#
# $ rake spec:generate
#
require 'spec_helper'
require 'whois/record/parser/whois.nic.pw.rb'
describe Whois::Record::Parser::WhoisNicPw, "status_available.expected" do
subject do
file = fixture("responses", "whois.nic.pw/status_available.txt")
part = Whois::Record::Part.new(:body => File.read(file))
described_class.new(part)
end
describe "#disclaimer" do
it do
subject.disclaimer.should == nil
end
end
describe "#domain" do
it do
subject.domain.should == nil
end
end
describe "#domain_id" do
it do
subject.domain_id.should == nil
end
end
describe "#status" do
it do
subject.status.should == []
end
end
describe "#available?" do
it do
subject.available?.should == true
end
end
describe "#registered?" do
it do
subject.registered?.should == false
end
end
describe "#created_on" do
it do
subject.created_on.should == nil
end
end
describe "#updated_on" do
it do
subject.updated_on.should == nil
end
end
describe "#expires_on" do
it do
subject.expires_on.should == nil
end
end
describe "#registrar" do
it do
subject.registrar.should == nil
end
end
describe "#registrant_contacts" do
it do
subject.registrant_contacts.should be_a(Array)
subject.registrant_contacts.should == []
end
end
describe "#admin_contacts" do
it do
subject.admin_contacts.should be_a(Array)
subject.admin_contacts.should == []
end
end
describe "#technical_contacts" do
it do
subject.technical_contacts.should be_a(Array)
subject.technical_contacts.should == []
end
end
describe "#nameservers" do
it do
subject.nameservers.should be_a(Array)
subject.nameservers.should == []
end
end
end
Jump to Line
Something went wrong with that request. Please try again.