title: RSpec2: view.should render_template best practices?
body: <p>I've been looking for the definitive answer for months now, and the
  RSpec book doesn't touch on it at all:</p>
  
  <p><strong>How do we now handle stubbing out rendering of partials in view specs
  in RSpec2?</strong></p>
  
  <p>I have a large (35K+ lines of views and related specs) that I'm trying
  to upgrade to Rails3/RSpec2. My views use partials pretty extensively
  and this issue is a huge blocker for me.</p>
  
  <pre><code>before do
   view.should render_template("event_list", :locals =&gt; {:calendar =&gt; @calendar})
  end
  </code></pre>
  
  <p>causes all my related specs fail with:</p>
  
  <pre><code>expecting &lt;"event_list"&gt; but rendering with &lt;""&gt;.
  Expected block to return true value.
  </code></pre>
  
  <p>Any advice?</p>