request_interceptor icon indicating copy to clipboard operation
request_interceptor copied to clipboard

Sinatra based foreign API simulation for your testsuite

Results 2 request_interceptor issues
Sort by recently updated
recently updated
newest added

Ensure that when constructing a request the body is not set twice. ``` ruby # File lib/net/http.rb, line 1908 def set_body_internal(str) #:nodoc: internal use only raise ArgumentError, "both of body...

I'm trying to mock a completely nil response like so: ```ruby interceptor.customize do get("/") do nil end end ``` But the response I get is an empty array `[]`.