Skip to content

Commit

Permalink
remove mocha deprecation warnings (#39)
Browse files Browse the repository at this point in the history
* Removed hiera config from sync.yml; updated rspec-puppet-facts

* remove mocha deprecation warning

Co-authored-by: Dimitri Tischenko <[email protected]>
Co-authored-by: Dimitri Tischenko <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2021
1 parent b4f3103 commit 65a8669
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -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'

Expand Down

0 comments on commit 65a8669

Please sign in to comment.