Sha256: 8d35529d8b07467dda0ac3b93a505c1f625f2ac24fa451b5ea1371d58601d9e7

Contents?: true

Size: 730 Bytes

Versions: 14

Compression:

Stored size: 730 Bytes

Contents

require 'simplecov'
  
SimpleCov.profiles.define 'gem' do
  add_filter '/spec/'
  add_filter '/autotest/'
  add_group 'Libraries', '/lib/'
end
SimpleCov.start 'gem'

require 'asciimath2unitsml'
require "rspec/matchers"
require "equivalent-xml/rspec_matchers"
require "rexml/document"

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 xmlpp(x)
  s = ""
  f = REXML::Formatters::Pretty.new(2)
  f.compact = true
  f.write(REXML::Document.new(x),s)
  s
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
asciimath2unitsml-0.3.2 spec/spec_helper.rb
asciimath2unitsml-0.3.1 spec/spec_helper.rb
asciimath2unitsml-0.3.0 spec/spec_helper.rb
asciimath2unitsml-0.2.5 spec/spec_helper.rb
asciimath2unitsml-0.2.4 spec/spec_helper.rb
asciimath2unitsml-0.2.3 spec/spec_helper.rb
asciimath2unitsml-0.2.2 spec/spec_helper.rb
asciimath2unitsml-0.2.1 spec/spec_helper.rb
asciimath2unitsml-0.2.0 spec/spec_helper.rb
asciimath2unitsml-0.1.3 spec/spec_helper.rb
asciimath2unitsml-0.1.2 spec/spec_helper.rb
asciimath2unitsml-0.1.1 spec/spec_helper.rb
asciimath2unitsml-0.1.0 spec/spec_helper.rb
asciimath2unitsml-0.0.2 spec/spec_helper.rb