webmock icon indicating copy to clipboard operation
webmock copied to clipboard

Double quotes on snippet output

Open rokkit opened this issue 4 years ago • 1 comments

I setup simple mock with URI template, and when I get the exception with stubs snippet, the output has double quoted strings. This snippet can't be copy-pasted to code. Is it right behavior?

registered request stubs:

stub_request(:get, ""http://localhost:9200/{index_name}/_search"")

version: webmock-3.12.2

rokkit avatar May 09 '21 15:05 rokkit

@rokkit that definitely doesn't look right. can you please provide an a code sample or spec example?

bblimke avatar May 10 '21 22:05 bblimke