Sha256: 1edb74eac2e3650a08f2fdf92f14cba55b6225979c03f67a551283bc879d8cdf

Contents?: true

Size: 641 Bytes

Versions: 3

Compression:

Stored size: 641 Bytes

Contents

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

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

3 entries across 3 versions & 1 rubygems

Version Path
puppet-repl-0.0.5 spec/spec_helper.rb
puppet-repl-0.0.4 spec/spec_helper.rb
puppet-repl-0.0.3 spec/spec_helper.rb