Displaying 1 result from an estimated 1 matches for "taste_url".
Did you mean:
base_url
2006 May 09
1
name_url in tests
...to do to get the _url functionality imported into my tests?
I''m using rails 1.1.2
thanks for any pointers in the dark-arts of URL rewriting tests.
dorian
Test:
# named routes
opts = { :action => "dotest", :test => "test1" }
assert_recognizes opts, taste_url(:action => "dotest", :test => "test1")
Error ( I have a route named ''taste''):
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/ge...