search for: overviews_url

Displaying 1 result from an estimated 1 matches for "overviews_url".

2006 May 08
0
testing named routes
...index'', :requirements => { :index => /index(artist|date|title)\.html/ }, :index => ''new'' etc... end and my test: opts = { :controller => "films", :action => "index", :index => "indexdate.html" } assert_routing overviews_url(:controller => "films", :index => "indexdate.html"), opts which gives me: 2) Error: test_routes(FilmsControllerTest): NoMethodError: You have a nil object when you didn''t expect it! The error occured while evaluating nil.rewrite /usr/lib/ruby/gems/1.8/gems/...