Displaying 1 result from an estimated 1 matches for "countryinfo".
Did you mean:
count_info
2006 Apr 18
7
Functional test, pls help!!!!
...esnt seems to be able to recognise one of my
model, and when i run the test, it keeps giving me the error of"You have
nil object when you don''t expect it". I tried rake
clone_structure_to_test but it still dont work. Checked my controllers
code but it has a code that says :
@countryinfo = Country.find(:first,:conditions=>["name =
?",@params[''country'']])
I dunno why the functional test just couldn''t seems to recognise this
statement and so i gives me error that i am using a nil object in the
view templates.
Here is the actual error given...