Sha256: 3ceb374f2715d3319f5de35e0ad4b2161fe7b77118fe288ba58f2b6e79748300

Contents?: true

Size: 655 Bytes

Versions: 2

Compression:

Stored size: 655 Bytes

Contents

require 'simplecov'
require_relative '../lib/puppet-repl'
require 'pry'

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

SimpleCov.configure do
  clean_filters
  load_adapter '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 'puppet-repl'

# 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 |config|

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppet-repl-0.0.2 spec/spec_helper.rb
puppet-repl-0.0.1 spec/spec_helper.rb