Sha256: 73d44de4f8f7f290b8580dde3d8f3ae385a5be69bad23f49a2b31959654f6a2f

Contents?: true

Size: 543 Bytes

Versions: 6

Compression:

Stored size: 543 Bytes

Contents

require "spec_helper"

def remove_preptime(xml)
  xml.gsub(/ prepTime="[^"]+"/, "").gsub(/ prepTime='[^']+'/, "")
end

describe Asciidoctor::RFC::V3::Converter do
  # it "processes v3 sample biblio file" do
  #  system("rm -f spec/examples/refs-v3.new.xml")
  #  system("bin/asciidoctor-rfc3 -r asciidoctor-bibliography spec/examples/refs-v3.adoc -o spec/examples/refs-v3.new.xml")
  #  expect(remove_preptime(File.read("spec/examples/refs-v3.new.xml"))).to be_equivalent_to remove_prepTime(File.read("spec/examples/refs-v3.xml"))
  # end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
asciidoctor-rfc-0.9.2 spec/asciidoctor/rfc/v3/biblio_spec.rb
asciidoctor-rfc-0.9.1 spec/asciidoctor/rfc/v3/biblio_spec.rb
asciidoctor-rfc-0.9.0 spec/asciidoctor/rfc/v3/biblio_spec.rb
asciidoctor-rfc-0.8.5 spec/asciidoctor/rfc/v3/biblio_spec.rb
asciidoctor-rfc-0.8.3 spec/asciidoctor/rfc/v3/biblio_spec.rb
asciidoctor-rfc-0.8.2 spec/asciidoctor/rfc/v3/biblio_spec.rb