fuel-library/deployment/puppet/horizon/spec/shared_examples.rb
Aleksandr Didenko 8ca4927b82 Sync horizon module with upstream
168c206dfefa35abec48d7bce33ed469bf98cefb v 5.0.0

Also enables unit tests for 'horizon' module.

Fuel-CI: disable

Change-Id: I64e267f12fac5602069500236538c41cf686532f
Partial blueprint: merge-openstack-puppet-modules
2014-12-30 11:53:51 +02:00

6 lines
186 B
Ruby

shared_examples_for "a Puppet::Error" do |description|
it "with message matching #{description.inspect}" do
expect { subject }.to raise_error(Puppet::Error, description)
end
end