[rspec-users] Rails controller specs and private helper methods
Steve Eley
steve at deepsalt.com
Tue Aug 5 14:26:41 EDT 2008
On Tue, Aug 5, 2008 at 9:09 AM, Luis Lavena <luislavena at gmail.com> 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 model, I'd consider wrapping it inside a model class and
spec'ing it out as a model.
--
Have Fun,
Steve Eley
Deep Salt Team
More information about the rspec-users
mailing list