<div dir="ltr">Pat,<br><br>In an earlier message, you wrote:<br><br><blockquote>it &quot;should find the book&quot; do<br>
 &nbsp;Book.should_receive(:find).with(&quot;1&quot;)<br>
 &nbsp;get :show, :id =&gt; &quot;1&quot;<br>
end<br><br>
[snip]<br><br>
it &quot;should assign the book to the view&quot; do<br>
 &nbsp;get :show, :id =&gt; &quot;1&quot;<br>
 &nbsp;assigns[:book].should == @mock_book<br>
end<br><br>
Now we&#39;ve got one example that says we should find the proper book, and<br>
another one that says we should assign it to the view. &nbsp;And with these<br>
two, we can be confident everything is set up properly because there&#39;d<br>
be no way for @mock_book to make it to the view were it not the same<br>
object returned by Book.find.<br></blockquote><div id=":36" class="ArwC7c ckChnd">

Where does @mock_book come from? A before block?<br><br>Thanks,<br>Craig</div><br></div>