Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (34 sloc) 0.996 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.gs/property_status_excluded_pendingdelete_restorable.expected
#
# and regenerate the tests with the following rake task
#
# $ rake spec:generate
#
require 'spec_helper'
require 'whois/record/parser/whois.nic.gs.rb'
describe Whois::Record::Parser::WhoisNicGs, "property_status_excluded_pendingdelete_restorable.expected" do
before(:each) do
file = fixture("responses", "whois.nic.gs/property_status_excluded_pendingdelete_restorable.txt")
part = Whois::Record::Part.new(:body => File.read(file))
@parser = klass.new(part)
end
describe "#status" do
it do
@parser.status.should == :redemption
end
end
describe "#available?" do
it do
@parser.available?.should == false
end
end
describe "#registered?" do
it do
@parser.registered?.should == true
end
end
end
Jump to Line
Something went wrong with that request. Please try again.