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