require "spec_helper"
RSpec.describe IsoDoc do
it "cross-references external documents in Presentation XML" do
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
a#b
OUTPUT
end
it "cross-references external documents in HTML" do
expect(xmlpp(IsoDoc::HtmlConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")