diff --git a/.fixtures.yml b/.fixtures.yml index b9c72ce..01773db 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -4,3 +4,4 @@ fixtures: forge_modules: ruby_task_helper: "puppetlabs/ruby_task_helper" + facts: "puppetlabs/facts" diff --git a/.sync.yml b/.sync.yml index 7abd582..840f85b 100644 --- a/.sync.yml +++ b/.sync.yml @@ -14,6 +14,12 @@ appveyor.yml: delete: true 'spec/spec_helper.rb': strict_level: ':error' + spec_overrides: + - "# BoltSpec setup" + - "# https://www.puppet.com/docs/bolt/latest/testing_plans.html" + - "require 'bolt_spec/plans'" + - "include BoltSpec::Plans" + - "BoltSpec::Plans.init" Rakefile: changelog_user: jay7x Gemfile: diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6a6c421..8d8b71e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -71,3 +71,7 @@ def ensure_module_defined(module_name) end # 'spec_overrides' from sync.yml will appear below this line +# https://www.puppet.com/docs/bolt/latest/testing_plans.html +require 'bolt_spec/plans' +include BoltSpec::Plans +BoltSpec::Plans.init