request_interceptor icon indicating copy to clipboard operation
request_interceptor copied to clipboard

How do I mock a completely nil response?

Open mattnoakes opened this issue 2 years ago • 0 comments

I'm trying to mock a completely nil response like so:

interceptor.customize do
  get("/") do
    nil
  end
end

But the response I get is an empty array [].

mattnoakes avatar May 31 '23 18:05 mattnoakes