summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/httpexceptions/response_spec.rb
blob: 205b2bc21282d880da6b7f16f13046ff0e98ffb6 (plain)
1
2
3
4
5
6
7
8
9
10
require_relative '../../../../spec_helper'
require 'net/http'
require_relative 'fixtures/classes'

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
destdir option valuek0kubun 2018-01-12tool/ruby_vm support for pre-2.3 BASERUBYshyouhei 2018-01-12delete tool/instruction.rb (2nd try)shyouhei 2018-01-10merge revisions 61753:61750 61747:61740 61737:61728shyouhei 2018-01-10Fixed typos.hsbt 2018-01-09Here document <<~ is Ruby 2.3 featurenaruse 2018-01-09delete tool/instruction.rbshyouhei