Sha256: 029d1f93b3453f4425a2c778ee78161c0d9fa761b663046886ce1ca725f3c69b
Contents?: true
Size: 560 Bytes
Versions: 19
Compression:
Stored size: 560 Bytes
Contents
# frozen_string_literal: true class WickedPdf module WickedPdfHelper module Assets # Force wicked_pdf styles to have a relative path, to prevent fetching # them from a host def wicked_pdf_stylesheet_pack_tag(*sources) stylesheet_pack_tag(*sources) end # Disables the images in the PDFs as those requests would be jamming under # the test environment def wicked_pdf_image_tag(img, options = {}); end end end end RSpec.configure do |config| config.include WickedPdf::WickedPdfHelper::Assets end
Version data entries
19 entries across 19 versions & 1 rubygems