Sha256: 82e8e8f9b9d0143a4f0757d48fb54fa782473f25cb5365d5b5667088ea4a3fa0

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

require 'feature_test'

class TestPageNumberWithList < FeatureTest
  feature :page_number_with_list do
    report = Thinreports::Report.new layout: template_path

    report.start_new_page
    report.page.item(:group_no).value('Group A')

    10.times { report.list.add_row }

    report.start_new_page
    report.page.item(:group_no).value('Group B')

    20.times { report.list.add_row }

    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_with_list/test_page_number_with_list.rb