spec/builders/preview_spec.rb in softcover-0.9.5 vs spec/builders/preview_spec.rb in softcover-0.9.6

- old
+ new

@@ -22,20 +22,9 @@ end it "should build an EPUB" do expect('ebooks/book-preview.mobi').to exist end - - it "should include the right chapters" do - @builder.manifest.preview_chapters.each do |ch| - expect(File.join('epub', 'OEBPS', ch.fragment_name)).to exist - end - nonpreview_chapters = @builder.manifest.chapters - - @builder.manifest.preview_chapters - nonpreview_chapters.each do |ch| - expect(File.join('epub', 'OEBPS', ch.fragment_name)).not_to exist - end - end end end end