Sha256: 164664183181f979a11250e7ead8e59421dbceff3e7caad1c8c75389e5bdf738
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true require 'feature_test' class TestPageNumber < FeatureTest feature :page_number do report = Thinreports::Report.new layout: template_path report.start_new_page do |page| page.item(:pageno).hide end report.start_new_page do |page| page.item(:pageno).styles(color: 'red', bold: true, underline: true, linethrough: true) end report.start_new_page count: false report.start_new_page count: true assert_pdf report.generate end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.10.3 | test/features/page_number/test_page_number.rb |