spec/kitabu/parser/pdf_spec.rb in kitabu-1.0.0.rc1 vs spec/kitabu/parser/pdf_spec.rb in kitabu-1.0.0.rc2
- old
+ new
@@ -1,14 +1,14 @@
require "spec_helper"
-describe Kitabu::Parser::Pdf do
+describe Kitabu::Parser::PDF do
let(:root) { SPECDIR.join("support/mybook") }
before do
- Kitabu::Parser::Html.new(root).parse
- Kitabu::Parser::Pdf.new(root).parse
+ Kitabu::Parser::HTML.new(root).parse
+ Kitabu::Parser::PDF.new(root).parse
end
- it "should generate pdf file" do
+ it "generates pdf file" do
root.join("output/mybook.pdf").should be_file
end
end