From 8b073d98a1d365ecf3ece604917f21e33edbd59b Mon Sep 17 00:00:00 2001 From: ohbarye Date: Wed, 24 Oct 2018 00:59:40 +0900 Subject: [PATCH] Fix typo: HTTPParty -> HTTParty --- lib/httparty/connection_adapter.rb | 2 +- spec/httparty/request_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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