Sha256: b81a057b85d7bd5eca9ee7534b8c36f3c60d74d9aa7f8ea199acffc2e24955a3

Contents?: true

Size: 294 Bytes

Versions: 11

Compression:

Stored size: 294 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pdfs2pdf-0.2.5 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.2.4 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.2.3 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.2.2 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.2.1 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.2.0 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.1.6 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.1.5 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.1.4 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.1.3 test/lib/pdfs2pdf/test_pdfs2pdf.rb
pdfs2pdf-0.1.2 test/lib/pdfs2pdf/test_pdfs2pdf.rb