Sha256: e3c31ee00b8f950d04ff1705594fe5e704eec793780844c0190b61e8c4612a25

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

require 'net/http'
require File.expand_path('../fixtures/classes', __FILE__)

describe "Net::HTTPExceptions#response" do
  it "returns self's response" do
    exception = NetHTTPExceptionsSpecs::Simple.new("error message", "a http response")
    exception.response.should == "a http response"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubysl-net-http-1.0.1 spec/httpexceptions/response_spec.rb
rubysl-net-http-2.0.4 spec/httpexceptions/response_spec.rb
rubysl-net-http-1.0.0 spec/httpexceptions/response_spec.rb