Sha256: f3dc65de2952e2226cd565cbef17029425372c187cedf08a17ebfa1e72e2acab

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

require "spec_helper"

RSpec.describe Asciidoctor::Standoc do
  it "flavor_name is standoc" do
    converter = Asciidoctor::Standoc::Converter.new(nil, backend: :standoc)
    expect(converter.flavor_name).to eql(:standoc)
  end

  it "install TNR font (cold-run)" do
    converter = Asciidoctor::Standoc::Converter.new(nil, backend: :standoc)

    font_manifest = {
      "Times New Roman" => nil,
    }

    VCR.turned_off do
      WebMock.allow_net_connect!
      converter.install_fonts_safe(font_manifest, true, false)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
metanorma-standoc-1.7.2 spec/asciidoctor-standoc/converter_spec.rb