1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Merge pull request #617 from ohbarye/fix-typo

Fix typo: HTTPParty -> HTTParty
This commit is contained in:
John Nunemaker 2018-10-23 13:38:15 -04:00 committed by GitHub
commit 5d53f277ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ module HTTParty
# == Custom Connection Factories
#
# If you like to implement your own connection adapter, subclassing
# HTTPParty::ConnectionAdapter will make it easier. Just override
# HTTParty::ConnectionAdapter will make it easier. Just override
# the #connection method. The uri and options attributes will have
# all the info you need to construct your http connection. Whatever
# you return from your connection method needs to adhere to the

View file

@ -73,7 +73,7 @@ RSpec.describe HTTParty::Request do
expect(request.parser).to eq(my_parser)
end
it "sets connection_adapter to HTTPParty::ConnectionAdapter" do
it "sets connection_adapter to HTTParty::ConnectionAdapter" do
request = HTTParty::Request.new(Net::HTTP::Get, 'http://google.com')
expect(request.connection_adapter).to eq(HTTParty::ConnectionAdapter)
end