d92156a3618e079ee5ee5f1b86edca31c09bdee7
[mirror/dsa-puppet.git] / 3rdparty / modules / cinder / spec / shared_examples.rb
1 shared_examples_for "a Puppet::Error" do |description|
2   it "with message matching #{description.inspect}" do
3     expect { should have_class_count(1) }.to raise_error(Puppet::Error, description)
4   end
5 end