]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/keystone/spec/shared_examples.rb
try with modules from master
[dsa-puppet.git] / 3rdparty / modules / keystone / 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