Sha256: 6e3a7152a5c0c51a156544ecbbc517481d6aef485912c5aa36c31fbde27cae47
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true require 'feature_test' class TestReportCallbacks < FeatureTest feature :report_callbacks do report = Thinreports::Report.new layout: template_path report.on_page_create do |page| page.item(:text2).value('Rendered by on_page_create') end report.start_new_page report.start_new_page assert_pdf report.generate end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.10.3 | test/features/report_callbacks/test_report_callbacks.rb |