Sha256: a16ac4eb28b311027ecfc700a2e445b1411f0d9b3183d80aa4f776fd8058f766
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 Bytes
Contents
require 'spec_helper' describe CasperReports do it 'compiles jasper report' do jrxml = open(File.join(File.dirname(__FILE__), 'data','testreport.jrxml')).read xmldata = open(File.join(File.dirname(__FILE__), 'data','patients.xml')).read #open('test.pdf', 'wb').write subject.compile(jrxml, xmldata, '//patient') subject.compile(jrxml, xmldata, '//patient').length.should == 1613 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
casperreports-0.0.3 | spec/casper_reports_spec.rb |
casperreports-0.0.1 | spec/casper_reports_spec.rb |