Re: [rspec-users] Parameters and View Specs

2008-08-19 Thread David Chelimsky
On Tue, Aug 19, 2008 at 6:18 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: > Sigh. Sorry to ask such a dumb question, but I've hit one of those walls... > I'm testing a view which uses the params[] hash directly. (Aside: is this > bad form?) > How the heckers do I set up the params hash in my test? > I

[rspec-users] Parameters and View Specs

2008-08-19 Thread Matt Wynne
Sigh. Sorry to ask such a dumb question, but I've hit one of those walls... I'm testing a view which uses the params[] hash directly. (Aside: is this bad form?) How the heckers do I set up the params hash in my test? I've tried calling render 'some/view', { :first_param => true }