Sha256: 9cb52c5e393c201cc83a2c22c332ee4dd295481f66717e59d617ac434be1cf47
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true require 'feature_test' class TestTextBlockSingleline < FeatureTest feature :text_block_singleline do report = Thinreports::Report.new layout: template_path report.start_new_page report.page.item(:fallback_to_ipafont).value('IPA明朝に自動的にフォールバックされる') report.page.item(:set_multiline_text).value("1行目\n2行目\n3行目\n4行目\n5行目") assert_pdf report.generate end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.10.3 | test/features/text_block_singleline/test_text_block_singleline.rb |