Sha256: a631c0eb17af29bf7f2759ae31137e333074b060fef3740eb78067242962b6f8
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
require 'simplecov' require_relative '../lib/puppet-repl' require 'yaml' # module SimpleCov::Configuration # def clean_filters # @filters = [] # end # end # # SimpleCov.configure do # clean_filters # load_profile 'test_frameworks' # end # # SimpleCov.start do # add_filter "/.rvm/" # add_filter "vendor" # add_filter "bundler" # 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} def stdlib_path File.join(Puppet[:basemodulepath].split(':').first, 'stdlib') end # def install_stdlib # `bundle exec puppet module install puppetlabs/stdlib` unless File.exists?(stdlib_path) # end # # install_stdlib def fixtures_dir File.join(File.dirname(__FILE__), 'fixtures') end def environments_dir File.join(fixtures_dir, 'environments') end RSpec.configure do |config| end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
puppet-repl-0.2.3 | spec/spec_helper.rb |
puppet-repl-0.2.2 | spec/spec_helper.rb |
puppet-repl-0.2.1 | spec/spec_helper.rb |
puppet-repl-0.2.0 | spec/spec_helper.rb |