From b0f93965face334a8821ddc5bdae7a71818a0854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Mugnolo?= Date: Wed, 29 Mar 2023 06:59:57 -0300 Subject: [PATCH] Fix typo in example name --- spec/httparty/response_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/httparty/response_spec.rb b/spec/httparty/response_spec.rb index 5bc5c9b3..30865a24 100644 --- a/spec/httparty/response_spec.rb +++ b/spec/httparty/response_spec.rb @@ -39,11 +39,11 @@ it "should set code" do expect(@response.code).to eq(@response_object.code) end - + it "should set code as an Integer" do expect(@response.code).to be_a(Integer) end - + it "should set http_version" do unparseable_body = lambda { raise "Unparseable" } unparseable_response = HTTParty::Response.new(@request_object, @response_object, unparseable_body) @@ -100,7 +100,7 @@ expect(response['foo']).to eq('bar') end - it "response to request" do + it "responds to request" do response = HTTParty::Response.new(@request_object, @response_object, @parsed_response) expect(response.respond_to?(:request)).to be_truthy end