diff --git a/Gemfile b/Gemfile index b6dcf45..f9d433f 100644 --- a/Gemfile +++ b/Gemfile @@ -31,4 +31,6 @@ gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test] puppetversion = ENV['PUPPET_VERSION'] || '>= 6.0' gem 'puppet', puppetversion, :require => false, :groups => [:test] +gem 'puppetlabs_spec_helper', github: 'ekohl/puppetlabs_spec_helper', branch: 'add-rspec-github-integration' + # vim: syntax=ruby diff --git a/spec/classes/example_spec.rb b/spec/classes/example_spec.rb index e19972e..0acbe90 100644 --- a/spec/classes/example_spec.rb +++ b/spec/classes/example_spec.rb @@ -7,7 +7,7 @@ context "on #{os}" do let(:facts) { os_facts } - it { is_expected.to compile.with_all_deps } + it { is_expected.not_to compile.with_all_deps } it { is_expected.to contain_file('/tmp/puppet-example').with_content('Hello World!') } end end