spec/builders/epub_spec.rb in softcover-0.9.21 vs spec/builders/epub_spec.rb in softcover-0.9.22

- old
+ new

@@ -32,9 +32,13 @@ describe "META-INF" do it "should have the right container file" do expect('epub/META-INF/container.xml').to exist end + it "should have an iBooks XML file" do + expect('epub/META-INF/com.apple.ibooks.display-options.xml').to exist + end + it "should have the right contents" do File.open('epub/META-INF/container.xml') do |f| expect(f.read).to match(/rootfile full-path="OEBPS\/content.opf"/) end end