title: How to write down the rspec to test rescue block.?
body: <p>I have method like this</p>
  
  <pre><code>def className  
    def method_name
      some code  
    rescue  
      some code and error message  
    end  
  end
  </code></pre>
  
  <p>So, How to write down the rspec to test rescue block..?</p>