Sha256: aab1f43193881fcfa059f7f7bcf126dff826f6cf4bc3ef0f6b3e973e4fd9bd2c
Contents?: true
Size: 418 Bytes
Versions: 22
Compression:
Stored size: 418 Bytes
Contents
require "spec_helper" require "fileutils" RSpec.describe Asciidoctor::Iec do it "Warns of illegal doctype" do FileUtils.rm_f "test.err" Asciidoctor.convert(<<~"INPUT", backend: :iec, header_footer: true) = Document title Author :docfile: test.adoc :nodoc: :no-isobib: :doctype: pizza text INPUT expect(File.read("test.err")).to include "pizza is not a recognised document type" end end
Version data entries
22 entries across 19 versions & 2 rubygems