aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index c53e703..f16fb15 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -7,6 +7,7 @@ end
require 'puppetlabs_spec_helper/module_spec_helper'
require 'rspec-puppet-facts'
+require 'bundler'
include RspecPuppetFacts
if File.exist?(File.join(__dir__, 'default_module_facts.yml'))
@@ -31,6 +32,7 @@ if Dir.exist?(File.expand_path('../../lib', __FILE__))
add_filter '/spec'
add_filter '/vendor'
add_filter '/.vendor'
+ add_filter Bundler.configured_bundle_path.path
end
end