Sha256: f2d7b84eb37231b5004d238cdaa69c0213bade1d214b90e81e8173078fd92062

Contents?: true

Size: 816 Bytes

Versions: 5

Compression:

Stored size: 816 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.publicinterestregistry.net/response_throttled.expected
#
# and regenerate the tests with the following rake task
#
#   $ rake genspec:parsers
#

require 'spec_helper'
require 'whois/record/parser/whois.publicinterestregistry.net.rb'

describe Whois::Record::Parser::WhoisPublicinterestregistryNet, "response_throttled.expected" do

  before(:each) do
    file = fixture("responses", "whois.publicinterestregistry.net/response_throttled.txt")
    part = Whois::Record::Part.new(:body => File.read(file))
    @parser = klass.new(part)
  end

  context "#response_throttled?" do
    it do
      @parser.response_throttled?.should == true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whois-2.0.4 spec/whois/record/parser/responses/whois.publicinterestregistry.net/response_throttled_spec.rb
whois-2.0.3 spec/whois/record/parser/responses/whois.publicinterestregistry.net/response_throttled_spec.rb
whois-2.0.2 spec/whois/record/parser/responses/whois.publicinterestregistry.net/response_throttled_spec.rb
whois-2.0.1 spec/whois/record/parser/responses/whois.publicinterestregistry.net/response_throttled_spec.rb
whois-2.0.0 spec/whois/record/parser/responses/whois.publicinterestregistry.net/response_throttled_spec.rb