Module: WickedPdf::WickedPdfHelper::Assets
- Defined in:
- lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb
Instance Method Summary collapse
-
#wicked_pdf_image_tag(img, options = {}) ⇒ Object
Disables the images in the PDFs as those requests would be jamming under the test environment.
-
#wicked_pdf_stylesheet_pack_tag ⇒ Object
Force wicked_pdf styles to have a relative path, to prevent fetching them from a host.
Instance Method Details
#wicked_pdf_image_tag(img, options = {}) ⇒ Object
Disables the images in the PDFs as those requests would be jamming under the test environment
14 |
# File 'lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb', line 14 def wicked_pdf_image_tag(img, = {}); end |
#wicked_pdf_stylesheet_pack_tag ⇒ Object
Force wicked_pdf styles to have a relative path, to prevent fetching them from a host
8 9 10 |
# File 'lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb', line 8 def wicked_pdf_stylesheet_pack_tag(*) stylesheet_pack_tag(*) end |