Sha256: e37217a0ec414c8185dcce76eaa1d6957f6d7e4d70a977a19dea0873f85d17df

Contents?: true

Size: 715 Bytes

Versions: 3

Compression:

Stored size: 715 Bytes

Contents

require 'simplecov'
require 'webmock/rspec'
require 'coveralls'

Coveralls.wear!
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

3 entries across 3 versions & 1 rubygems

Version Path
ege_parser-1.1.2 spec/spec_helper.rb
ege_parser-1.1.1 spec/spec_helper.rb
ege_parser-1.1.0 spec/spec_helper.rb