Update containers to CentOS Stream 8
[barometer.git] / puppet-barometer / spec / shared_examples.rb
1 shared_examples_for "a Puppet::Error" do |description|
2   it "with message matching #{description.inspect}" do
3     expect { is_expected.to have_class_count(1) }.to raise_error(Puppet::Error, description)
4   end
5 end