Sha256: 13ab35f53760e84b542d67157a8f7a0b3209937c593667a7b5c0e90fe1c2737f
Contents?: true
Size: 449 Bytes
Versions: 3
Compression:
Stored size: 449 Bytes
Contents
require "spec_helper" describe Proselytism::Converters::PdfImages.instance do context "perform" do before do clear_tmp_dir end it "should work" do subject.perform fixture_path("001.pdf"), :to => :ppm, :dir => tmp_dir end it "should log and raise error" do proc{ subject.perform fixture_path("001.doc"), :to => :ppm, :dir => tmp_dir }.should raise_error(subject.class::Error) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
proselytism-0.0.3 | spec/pdf_images_spec.rb |
proselytism-0.0.2 | spec/pdf_images_spec.rb |
proselytism-0.0.1 | spec/pdf_images_spec.rb |