title: Ruby Rspec message expectations for a caught exception
body: <p>Is there any way with Rspec to set an expectation for an exception that gets caught? I want to verify that MyException gets raised, but since I am catching the exception Rspec does not appear to know it ever happened.</p>
  
  <pre><code>begin
    if success
      do good stuff
    else
      raise MyException.new()
    end
  rescue MyException =&gt; e
    clean up
  end
  </code></pre>
  
  <p>I've tried a few things like the following without success. <code>MyException.should_receive(:new)</code> and 
  <code>Kernel.should_receive(:raise).with(MyException)</code></p>