Module: ResponseHelper

Instance Method Summary collapse

Instance Method Details

#stubbed_response(body, status = 200) ⇒ Object



2
3
4
# File 'lib/ecfr/testing/helpers/response_helper.rb', line 2

def stubbed_response(body, status = 200)
  OpenStruct.new(body: body, status: status)
end