class Shoulda::Matchers::ActionController::RescueFromMatcher

def expectation

def expectation
  expectation = "#{controller} to rescue from #{exception}"
  if expected_method && !method_name_matches?
    expectation << " with ##{expected_method}"
  end
  unless handler_exists?
    expectation << " but #{controller} does not respond to #{expected_method}"
  end
  expectation
end