Sha256: 2d19b40ef8979ce86a94cf401baf0bc28450a24a9386eed1ba44af2a046108e9
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
require "simplecov" SimpleCov.start do add_filter "/spec/" end require "bundler/setup" require "asciidoctor" require "asciidoctor-iso" require "rspec/matchers" require "equivalent-xml" RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status" # Disable RSpec exposing methods globally on `Module` and `main` config.disable_monkey_patching! config.expect_with :rspec do |c| c.syntax = :expect end end def strip_guid(x) x.gsub(%r{ id="_[^"]+"}, ' id="_"').gsub(%r{ target="_[^"]+"}, ' target="_"') end ASCIIDOC_BLANK_HDR = <<~"HDR" = Document title Author :docfile: test.adoc :nodoc: :novalid: HDR VALIDATING_BLANK_HDR = <<~"HDR" = Document title Author :docfile: test.adoc :nodoc: HDR BLANK_HDR = <<~"HDR" <?xml version="1.0" encoding="UTF-8"?> <iso-standard xmlns="http://riboseinc.com/isoxml"> <bibdata type="article"> <title> </title> <title> </title> <docidentifier> <project-number/> </docidentifier> <contributor> <role type="author"/> <organization> <name>ISO</name> </organization> </contributor> <contributor> <role type="publisher"/> <organization> <name>ISO</name> </organization> </contributor> <script>Latn</script> <status> <stage>60</stage> <substage>60</substage> </status> <copyright> <from>#{Time.new.year}</from> <owner> <organization> <name>ISO</name> </organization> </owner> </copyright> <editorialgroup> <technical-committee/> <subcommittee/> <workgroup/> </editorialgroup> </bibdata> HDR
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-iso-0.7.0 | spec/spec_helper.rb |