Skip to content

Commit

Permalink
fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Sep 19, 2024
1 parent 850639f commit 64af567
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/ezclient_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ def self.sign!(*); end
context "object inspectation" do
specify "#inspect" do
expect(response.inspect.gsub(/0x\w+/, "0x0000")).to eq(<<~TXT.gsub(/\s+/, " ").strip)
#<EzClient::Response:0x0000
@http_response=#<HTTP::Response/1.1 201 Created {}>,
@http_request=#<HTTP::Request/1.1 POST http://example.com/>,
@body="">
TXT
#<EzClient::Response:0x0000
@http_response=#<HTTP::Response/1.1 201 Created {}>,
@http_request=#<HTTP::Request/1.1 POST http://example.com/>,
@body="">
TXT
end

specify "#to_s" do
Expand Down

0 comments on commit 64af567

Please sign in to comment.