module Rodent
  module Test
    module Helpers
      def request(path, *args)
        @rodent_response = api.route(path).call(*args)
      end

      def response
        @rodent_response
      end
    end
  end
end

require 'multi_json'

module Rodent
  module Test
    module Helpers
      def request(path, *args)
        @rodent_response = MultiJson.load(api.route(path).call(*args))
      end

      def response
        @rodent_response
      end
    end
  end
end

Convert response to json in test helper
Convert response to json in test helper
