File: shared_examples.rb

package info (click to toggle)
puppet-module-rally 6.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 552 kB
  • sloc: ruby: 1,514; python: 37; sh: 10; makefile: 10
file content (5 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (109)
1
2
3
4
5
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