Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
75 lines (69 sloc) 1.53 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.registry.net.za/status_available.expected
#
# and regenerate the tests with the following rake task
#
# $ rake spec:generate
#
require 'spec_helper'
require 'whois/record/parser/whois.registry.net.za.rb'
describe Whois::Record::Parser::WhoisRegistryNetZa, "status_available.expected" do
subject do
file = fixture("responses", "whois.registry.net.za/status_available.txt")
part = Whois::Record::Part.new(:body => File.read(file))
described_class.new(part)
end
describe "#available?" do
it do
subject.available?.should be_true
end
end
describe "#registered?" do
it do
subject.registered?.should be_false
end
end
describe "#nameservers" do
it do
subject.nameservers.should be_empty
end
end
describe "#registrar" do
it do
subject.registrar.should be_nil
end
end
describe "#registrant_contacts" do
it do
subject.registrant_contacts.should be_empty
end
end
describe "#domain" do
it do
subject.domain.should be_nil
end
end
describe "#created_on" do
it do
subject.created_on.should be_nil
end
end
describe "#status" do
it do
subject.status.should be_nil
end
end
describe "#expires_on" do
it do
subject.expires_on.should be_nil
end
end
describe "#disclaimer" do
it do
subject.disclaimer.should be_nil
end
end
end
Jump to Line
Something went wrong with that request. Please try again.