Skip to content

Commit

Permalink
Fix typo in example name
Browse files Browse the repository at this point in the history
  • Loading branch information
xymbol committed Mar 29, 2023
1 parent e731057 commit b0f9396
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/httparty/response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b0f9396

Please sign in to comment.