
This change updates the puppet-qdr module to leverage the puppet-openstack_spec_helper for unit testing and common dependency management for spec tests. Additionally this change fixes the lint issues with the module. Change-Id: I62d6b60712e237a8b4daf654879a4f1912fb9ec6
6 lines
213 B
Ruby
6 lines
213 B
Ruby
shared_examples_for "a Puppet::Error" do |description|
|
|
it "with message matching #{description.inspect}" do
|
|
expect { is_expected.to have_class_count(1) }.to raise_error(Puppet::Error, description)
|
|
end
|
|
end
|