Gi guis, I'm using the RSpec testing plugin to make my tests, but I've encountered a problem. In my application I've different named routes that go to the same controller, so to simulate a session HTTP request I can't use
def do_get get :index end
but I would like to put the named url, with something like
def do_get get televisions_url end
The solution is not working, since the get method put the generated url
into the action option, and in this way it doesn't work. I read here [1]
an example which confirm that my idea is correct, but it's not working
on my system. I use Rails 2.1 on a *nix platform.
I also looked for the documentation of the method and into the source
code, but I wasn't able to solve the problem
Thanks in advance for your help.