Displaying 1 result from an estimated 1 matches for "my_action_nam".
Did you mean:
my_action_name
2007 Jul 02
6
Testing route globbing and limitations of get()
...rect behaviour, since we''re
testing the controller, and not routing. However, since the controller
action is a catchall, I must pass a path to it, or it won''t know what to do.
If I try to specify the path using
request.path = ''/something/somewhere''
get ''my_action_name''
the path comes out as ''/''.
Can anyone instruct me on how to do this correctly?
Cheers,
--
David Leal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070702/88d94b31/attachment....