Sha256: 74147097556266ef9c87e803f51917f83b3ab522e991bbcb509555dc3e08c893
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
# coding: utf-8 require 'test/unit/helper' class ThinReports::Generator::TestPDF < MiniTest::Unit::TestCase include ThinReports::TestHelpers # Alias PDF = ThinReports::Generator::PDF def test_new_should_set_title_as_metadata report = create_basic_report('basic_layout1.tlf') {|r| r.start_new_page } flexmock(PDF::Document).should_receive(:new). with(Hash, :Title => 'Basic Layout').once PDF.new(report, {}) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.5 | test/unit/generator/test_pdf.rb |
thinreports-0.7.0 | test/unit/generator/test_pdf.rb |