puppet-neutron/spec/shared_examples.rb
Mathieu Gagné 17c25b8d82 Support platforms without quantum server package
RedHat platforms don't have a separate package for the quantum server.

Change-Id: Ied83733f1dc8ec55a664e1d9c7119d3105a0a8e2
2013-05-20 09:48:43 -07:00

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