diff --git a/.sync.yml b/.sync.yml index bfd0211..cc377e3 100644 --- a/.sync.yml +++ b/.sync.yml @@ -9,3 +9,6 @@ spec/default_facts.yml: extra_facts: pe_server_version: 2019.8.4 pe_build: 2019.8.4 + +spec/spec_helper.rb: + mock_with: ":rspec" \ No newline at end of file diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d3778ca..b367fde 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,9 @@ # frozen_string_literal: true +RSpec.configure do |c| + c.mock_with :rspec +end + require 'puppetlabs_spec_helper/module_spec_helper' require 'rspec-puppet-facts'