method

save_page

save_page(path = html_dump_default_path)
private

No documentation available.

# File actionpack/lib/action_dispatch/testing/test_helpers/page_dump_helper.rb, line 15
        def save_page(path = html_dump_default_path)
          raise InvalidResponse.new("Response is a redirection!") if response.redirection?
          path = Pathname.new(path)
          path.dirname.mkpath
          File.write(path, response.body)
          path
        end