On Jul 30, 10:53 am, Fernando Perez <[email protected]> wrote: > > Do you explicitly require mocha somewhere? > > I don't use mocha. Did rails delegate the stubbing to mocha recently? So > that could be my missing piece of the puzzle. Where should I require it > in? test_helper.rb? >
it always has, but rails may have been accidentally requiring it for you Fred > > By the way you no longer need to setup @controller/@request/@response - > > actioncontroller::testcase does that for you > > Indeed, I'll update my tests accordingly, thanks for pointing that out. > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

