We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059ddc7 commit 0b358f4Copy full SHA for 0b358f4
spec/ezclient_spec.rb
@@ -375,7 +375,7 @@ def self.sign!(*); end
375
let(:webmock_response) { { status: 201 } }
376
377
context "object inspectation" do
378
- specify do
+ specify "#inspect" do
379
expect(response.inspect).to match({
380
req: {
381
raw: response.http_request.inspect,
@@ -388,6 +388,10 @@ def self.sign!(*); end
388
},
389
}.to_s)
390
end
391
+
392
+ specify "#to_s" do
393
+ expect(response.inspect).to eq(response.to_s)
394
+ end
395
396
397
context "201 response code" do
0 commit comments