test/test_searcher.rb in epub-parser-0.3.3 vs test/test_searcher.rb in epub-parser-0.3.4

- old
+ new

@@ -13,9 +13,10 @@ @package.spine.each_itemref do |itemref| stub(itemref.item).read { itemref.idref == 'nav' ? File.read(nav_path) : '<html></html>' } end + stub(@package).full_path {"OPS/ルートファイル.opf"} end def test_no_result assert_empty EPUB::Searcher::Publication.search_text(@package, 'no result') end