Sha256: ad80f60f1538d4af85dd7eec8c6c089ddd097b32671103a3bfe123079c3821ac

Contents?: true

Size: 287 Bytes

Versions: 3

Compression:

Stored size: 287 Bytes

Contents

require_relative '../../test_helper'
describe Pdfs2Pdf do
  context '#page_count' do
    it 'returns result for valid command' do
      input_file = 'test/fixtures/samples/demo1_xxx.rb.xhtml.pdf'
      result = Pdfs2Pdf.page_count(input_file)
      result.must_equal 1
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pdfs2pdf-0.1.0 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.0.8 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.0.7 test/lib/pdfs2pdf/test_pdfs2pdf.rb