c393ba3bef
Change-Id: I2a8523bb503cec68e278542100be35bfac12cba9 Signed-off-by: Francesco Vollero <fvollero@redhat.com>
6 lines
205 B
Ruby
6 lines
205 B
Ruby
shared_examples_for "a Puppet::Error" do |description|
|
|
it "with message matching #{description.inspect}" do
|
|
expect { should have_class_count(1) }.to raise_error(Puppet::Error, description)
|
|
end
|
|
end
|