search for: test_client_ord

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

2007 Feb 05
0
How do I use a RESTful helper with path_prefix?
...ng up: map.client_home '':client/'', :controller => ''orders'', :action => ''index'' map.resources :orders, :path_prefix => '':client/'' and in fact it works when I test through a browser, but not in my test code: def test_client_orders get orders_url(:client => ''myclient'') assert_response :success end results in this: NoMethodError: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.rewrite /Users/jeffreycohen/Sites/modem_app/trunk/config/../ve...