diff --git a/lib/httparty/connection_adapter.rb b/lib/httparty/connection_adapter.rb index 7a5d0eb..5b5193a 100644 --- a/lib/httparty/connection_adapter.rb +++ b/lib/httparty/connection_adapter.rb @@ -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 diff --git a/spec/httparty/request_spec.rb b/spec/httparty/request_spec.rb index 998f943..d2f85e8 100644 --- a/spec/httparty/request_spec.rb +++ b/spec/httparty/request_spec.rb @@ -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