Displaying 1 result from an estimated 1 matches for "studentcontrollertest".
Did you mean:
student_controller_test
2006 Jan 06
0
scaffold code fails functional test?
...sh[:notice] = ''Student was successfully created.''
redirect_to :action => ''list''
else
render :action => ''new''
end
end
I decided to run functional test on the controller. Here is the result:
1) Failure:
test_create(StudentControllerTest)
[test/functional/student_controller_test.rb:55]:
Expected response to be a <:redirect>, but was <200>
Also from another action I get the following error:
2) Failure:
test_edit(StudentControllerTest)
[test/functional/student_controller_test.rb:68]:
<false> is not true.
I don&...