That is what I thought (and was hoping for)

Thanks David.


> This is a bit tricky. What you're setting up here (which is true of
> message expectations in general, not must mock_model) is an
> expectation that @site will receive the message :save and that when it
> does receive it, you are instructing it to return true (not expecting
> that the real :save method returns true).
> 
> The real :save method is not called.
> 
> Make sense?

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to