Sha256: 2cbc72a52827f8e3a199066bf34f0c1a6687a9b80907baa468202b6a338827d3
Contents?: true
Size: 274 Bytes
Versions: 6
Compression:
Stored size: 274 Bytes
Contents
require "action_dispatch/test_response/json/version" require "nokogiri" ActionDispatch::Response.module_eval do def json @json ||= JSON.parse(body, object_class: ActiveSupport::HashWithIndifferentAccess) end def html @html ||= Nokogiri::HTML(body) end end
Version data entries
6 entries across 6 versions & 1 rubygems