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