Sha256: c516c2a916ddcc96de126f4ece11be42dbab2421466ac8e664f734ed04030c8c
Contents?: true
Size: 719 Bytes
Versions: 1
Compression:
Stored size: 719 Bytes
Contents
require File.dirname(__FILE__) + '/unit_helper' require 'pdf_ravager/kernel' class TestKernelIntegration < MiniTest::Unit::TestCase def setup @template = pdf do |p| p.text 'text', 'foo' p.rich_text 'rich_text', '<b>foo</b>' p.check 'checkbox1' p.uncheck 'checkbox2' p.fill 'radio_group', 'button' end end def test_that_dsl_template_equals_longform_template template = PDFRavager::Template.new do |t| t.text 'text', 'foo' t.rich_text 'rich_text', '<b>foo</b>' t.check 'checkbox1' t.uncheck 'checkbox2' t.fill 'radio_group', 'button' end assert_equal @template, template end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pdf_ravager-0.1.0 | spec/unit/kernel_spec.rb |