Files
978b7ef3cfd7690ee91a91aac9d794c7fc848a59
6 lines
213 B
Ruby
6 lines
213 B
Ruby
shared_examples_for "a Puppet::Error" do |description|
it "with message matching #{description.inspect}" do
expect { is_expected.to have_class_count(1) }.to raise_error(Puppet::Error, description)
end
end