Displaying 1 result from an estimated 1 matches for "5bselect".
2007 Dec 23
1
Rails: possible routing discrepancy
...t; for url_string and "/writing" for
@controller.request.request_uri -- meaning current_page? works
correctly, and link_to_unless_current works correctly.
But, when I''m running current_page? from my spec, I get "/writing"
for url_string and "/abstracts?index%5Bselect%5D=new" for
@controller.request.request_uri -- so current_page? works incorrectly
and so does link_to_unless_current.
Looks like that @controller.request is an RSpec request of some kind.
Is it possible the RSpec request isn''t handling route generation
correctly? Or should I...