Skip to content

Commit

Permalink
Merge pull request #583 from voxpupuli/logicminds-patch-1
Browse files Browse the repository at this point in the history
Filters out the configured bundler path
  • Loading branch information
bastelfreak authored Jul 25, 2019
2 parents 35c5fae + f3b2a39 commit 5e3ff0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moduleroot/spec/spec_helper.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ end
<%- 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'))
Expand Down Expand Up @@ -47,6 +48,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

Expand Down

0 comments on commit 5e3ff0e

Please sign in to comment.