test/test_conversions.rb in pandoc-ruby-2.1.4 vs test/test_conversions.rb in pandoc-ruby-2.1.5

- old
+ new

@@ -21,11 +21,12 @@ converted_content = PandocRuby.convert( from_content, :from => from, :to => to ) - assert_equal(converted_content.strip, to_content.strip) + + assert_equal(to_content.strip, converted_content.strip) end end end describe '.docx' do @@ -45,10 +46,10 @@ :from => 'docx', :to => 'html' ) end - assert_match(/couldn't parse docx file/, error.message) + assert_match(/couldn't unpack docx container/, error.message) end it "raises an error when attempting to convert doc with doc format" do error = assert_raises(RuntimeError) do PandocRuby.convert(