i want to test my routes and really struggle with it ...
i have the following roout defined:
map.home '''', :controller => ''Home''
.. which allows me to call http://www.host.com and be redirected to the
home controllers'' index action. my test looks the following now:
assert_routing('''', :controller => ''home'',
:action => ''index'')
and it fails with:
Test::Unit::AssertionFailedError: The recognized options
<{"action"=>"index",
"controller"=>"Home"}> did not match
<{"action"=>"index",
"controller"=>"home"}>, difference:
<{"controller"=>"home"}>
i am stuck, thanks for your time
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---