Skip to content

Commit 50dee92

Browse files
committed
Explicitly use SimpleCov
SimpleCov when loaded by puppet-lint is loaded too late for providing information about code coverage in this plugin. Explicitly load and start SimpleCov ourselves, so that we produce usable results.
1 parent d7443a5 commit 50dee92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/spec_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require 'simplecov'
2+
SimpleCov.start
3+
14
require 'puppet-lint'
25

36
PuppetLint::Plugins.load_spec_helper

0 commit comments

Comments
 (0)