Sha256: 99193a6b7f3ee981a5634bc12c8c998fde55fb7a5e067143a4d4f3cd4c288939

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 Bytes

Contents

require 'simplecov'
require 'webmock/rspec'

module SimpleCov::Configuration
  def clean_filters
    @filters = []
  end
end

SimpleCov.configure do
  clean_filters
  load_profile 'test_frameworks'
end

ENV["COVERAGE"] && SimpleCov.start do
  add_filter "/.rvm/"
end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'rspec'
require 'ege_parser'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |c|
	c.treat_symbols_as_metadata_keys_with_true_values = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ege_parser-1.0.0 spec/spec_helper.rb