Skip to content

Commit

Permalink
Minor whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Jun 15, 2021
1 parent 868053f commit 101543f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/httparty/request_spec.rb
Expand Up @@ -281,6 +281,7 @@
expect(@request.uri).to eq(URI.parse("http://example.com/bar/"))
end
end

it "returns correct path when the server sets the location header to a full uri" do
@request.last_uri = URI.parse("http://example.com/foo/bar")
@request.path = URI.parse("http://example.com/bar?foo=bar")
Expand Down Expand Up @@ -1199,8 +1200,6 @@
expect(@request.perform.parsed_response).to eq({"hash" => {"foo" => "bar"}})
end



it "should keep track of cookies between redirects" do
@redirect['Set-Cookie'] = 'foo=bar; name=value; HTTPOnly'
@request.perform
Expand Down

0 comments on commit 101543f

Please sign in to comment.