(MODULES-3958) use rspec-mock and add coverage

This commit is contained in:
tphoney
2019-02-14 13:50:04 +00:00
parent 7bede1a384
commit 7293c4991b
10 changed files with 72 additions and 35 deletions

View File

@@ -1,3 +1,7 @@
RSpec.configure do |c|
c.mock_with :rspec
end
require 'puppetlabs_spec_helper/module_spec_helper'
require 'rspec-puppet-facts'
@@ -34,6 +38,7 @@ RSpec.configure do |c|
end
c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT']
c.after(:suite) do
RSpec::Puppet::Coverage.report!(0)
end
end