Page MenuHomeSoftware Heritage

shared_examples.rb
No OneTemporary

shared_examples.rb

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

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 6:40 PM (14 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3277907

Event Timeline