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:
commit
5d53f277ee
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue