diff --git a/Gemfile b/Gemfile index fcf09e13..b1f2216f 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,7 @@ gem 'puppet-lint-param-docs', '>= 1.3.0', {"groups"=>["test"]} gem 'puppet-lint-spaceship_operator_without_tag-check', {"groups"=>["test"]} gem 'puppet-lint-strict_indent-check', {"groups"=>["test"]} gem 'puppet-lint-undef_in_function-check', {"groups"=>["test"]} -gem 'voxpupuli-test', '~> 1.4', {"groups"=>["test"]} +gem 'voxpupuli-test', '~> 5.0', {"groups"=>["test"]} gem 'github_changelog_generator', '>= 1.15.0', {"groups"=>["development"]} gem 'puppet_metadata', '~> 1.3' gem 'puppet-blacksmith', '>= 6.0.0', {"groups"=>["development"]} diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c7e8f0b7..950b5d86 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,6 +3,8 @@ require 'voxpupuli/test/spec_helper' +add_mocked_facts! + def get_content(subject, title) is_expected.to contain_file(title) content = subject.resource('file', title).send(:parameters)[:content]