[rspec-users] route_for()
Anita Anita
lists at ruby-forum.com
Wed Oct 8 17:41:46 EDT 2008
Hello,
Can I test in the spec the route taken by the redirect_to from the
controller? The URL is not controller/action.
I tried:
route_for(:controller => "signup", :action => "confirmation").should ==
"/my/set/URL" but no it absolutely wants: ...should ==
"signup/confirmation"
So how can I test my real URL?
Thank you,
Anita.
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list