[rspec-users] Rails controller specs and private helper methods

2008-08-05 Thread Luis Lavena
Hello guys, Been a while since last time I worked with Rails so is taking me a while get back to full speed. For a specific scenario I'm facing right now, I required to implement a generic REST controller that accept any kind of resource and provide a @collection or @record to work with. I take

Re: [rspec-users] Rails controller specs and private helper methods

2008-08-05 Thread Steve Eley
On Tue, Aug 5, 2008 at 9:09 AM, Luis Lavena [EMAIL PROTECTED] wrote: Do you guys think that will be best to put the resource_class stub inside the actions and create another context to deal with those internals? I would. In fact, if it were really necessary to treat a generic resource as a