test/test_pandoc_ruby.rb in pandoc-ruby-2.0.0 vs test/test_pandoc_ruby.rb in pandoc-ruby-2.0.1
- old
+ new
@@ -38,9 +38,13 @@
it 'converts multiple element array input as array of file paths' do
assert PandocRuby.new([@file, @file2]).to_html.match(/This is a Title/)
assert PandocRuby.new([@file, @file2]).to_html.match(/A Second Title/)
end
+ it 'converts multiple element array input as array of file paths to a binary output format' do
+ assert PandocRuby.new([@file, @file2]).to_epub.match(/com.apple.ibooks/)
+ end
+
it 'accepts short options' do
@converter.expects(:execute).with('pandoc -t rst').returns(true)
assert @converter.convert
end