Sha256: fbba128a5b4c5c58e0afd023ccc810938170da41d763ef795b3736186b7727f4
Contents?: true
Size: 448 Bytes
Versions: 1
Compression:
Stored size: 448 Bytes
Contents
# # specifying podoff # # Tue Oct 20 13:11:38 JST 2015 # require 'spec_helper' describe Podoff do describe '.load' do it 'loads a PDF document' do d = Podoff.load('pdfs/udocument0.pdf') expect(d.class).to eq(Podoff::Document) end it 'rejects items that are not PDF documents' do expect { Podoff.load('spec/spec_helper.rb') }.to raise_error(ArgumentError, 'not a PDF file') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
podoff-0.9.0 | spec/core_spec.rb |