Skip to content

Commit

Permalink
Merge pull request #298 from bastelfreak/tests
Browse files Browse the repository at this point in the history
Fix rspec 3.10 failures
  • Loading branch information
bastelfreak authored Nov 3, 2020
2 parents b0e709c + 87b144a commit 8a13291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/defines/addon_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
let(:title) { 'Splunk_TA' }
let(:params) { { 'splunkbase_source' => 'puppet:///modules/profiles/splunk-add-on.tgz' } }

it { is_expected.to raise_error(Puppet::Error) }
it { is_expected.to compile.and_raise_error(%r{Error while evaluating a Function Call}) }
end
end
end
Expand Down

0 comments on commit 8a13291

Please sign in to comment.