Sha256: 5bff01ec725778a666639428d2f67abc60e40e8e4bf50ac669261272efa365c2
Contents?: true
Size: 597 Bytes
Versions: 4
Compression:
Stored size: 597 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class Thinreports::Generator::TestPDF < Minitest::Test include Thinreports::TestHelper PDF = Thinreports::Generator::PDF def test_default_layout layout_filename = layout_file.path report = Thinreports::Report.new layout: layout_filename generator = PDF.new report assert_equal layout_filename, generator.default_layout.filename end def test_initialize report = Thinreports::Report.new layout: layout_file.path report.start_new_page PDF.new(report) assert_equal true, report.finalized? end end
Version data entries
4 entries across 4 versions & 1 rubygems