Sha256: cf2e52b708a54fc87d07d47d3938cf6bb990cc27c6aa94f36aa790114c8ecf38

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

require "simplecov"
SimpleCov.start do
  add_filter "/spec/"
end

require "bundler/setup"
require "isodoc"
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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
isodoc-0.5.9 spec/spec_helper.rb
isodoc-0.5.8 spec/spec_helper.rb
isodoc-0.5.7 spec/spec_helper.rb
isodoc-0.5.5 spec/spec_helper.rb