Module: RSpec::Puppet::GenericMatchers

Included in:
Support
Defined in:
lib/rspec-puppet/matchers/raise_error.rb

Defined Under Namespace

Classes: RaiseError

Instance Method Summary collapse

Instance Method Details

#raise_error(*args, &block) ⇒ Object



19
20
21
# File 'lib/rspec-puppet/matchers/raise_error.rb', line 19

def raise_error(*args, &block)
  RaiseError.new(*args, &block)
end