[rspec-users] RSpec 2 view example: render_template

Michael Schuerig michael at schuerig.de
Sun Jun 20 12:21:23 EDT 2010

On Sunday 20 June 2010, David Chelimsky wrote:
> On Jun 20, 2010, at 9:35 AM, Michael Schuerig wrote:
> > I already found out, that I
> > can set expectations with view.should_receive(:render) like I did
> > in pre-2.0 with template.should_receive(:render).
> That doesn't actually work like it did in 1.x, because the rails
> internals have changed:

Yes, I mis-typed. It should have been "can't".


Michael Schuerig
mailto:michael at schuerig.de

More information about the rspec-users mailing list