Sha256: caa7623fc0c9a2d94bee6962d581023ab28066f0953d8c4da3dd9aa389f9cf60
Contents?: true
Size: 431 Bytes
Versions: 13
Compression:
Stored size: 431 Bytes
Contents
require_relative "../../test_helper" describe Html2Pdf do context "#to_pdf" do it "raises error on invalid input file" do assert_raises(RuntimeError) { Html2Pdf.to_pdf("bad-file-name") } end end context "#softwares_installed?" do it "raises error if the requirements are not met" do assert(Html2Pdf.softwares_installed?, "Must have valid installation of `wkhtmltopdf`") end end end
Version data entries
13 entries across 13 versions & 1 rubygems