module Jets::Testing::JSONResponse

Public Instance Methods

json_response() click to toggle source
# File lib/jets/testing/helpers/json_response.rb, line 5
def json_response
  @json_response ||= begin
    request
    JSON.parse(response.body)
  end
end