class RSpec::Matchers::BuiltIn::RaiseError

Attributes

last_run[RW]
expected_message[R]

Public Instance Methods

last_error_for_chefspec() click to toggle source
# File lib/chefspec/expect_exception.rb, line 8
def last_error_for_chefspec
  @expected_error
end
matches?(*args) click to toggle source
# File lib/chefspec/expect_exception.rb, line 13
def matches?(*args)
  self.class.last_run = self
  old_matches?(*args)
end
Also aliased as: old_matches?
old_matches?(*args)
Alias for: matches?