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