Skip to content

Commit f0fad7a

Browse files
author
Phil Friderici
committed
Activate resource coverage while testing
1 parent e3f0c37 commit f0fad7a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.sync.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
#
66
# See https://github.com/puppetlabs/pdk-templates/blob/main/config_defaults.yml
77
# for the default values.
8-
--- {}
8+
---
9+
spec/spec_helper.rb:
10+
coverage_report: true
11+
minimum_code_coverage_percentage: 100
12+

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
end
4747
c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT']
4848
c.after(:suite) do
49-
RSpec::Puppet::Coverage.report!(0)
49+
RSpec::Puppet::Coverage.report!(100)
5050
end
5151

5252
# Filter backtrace noise

0 commit comments

Comments
 (0)