Using Rails revision 8430, a number of my functional tests that are subclasses of ActionController::TestCase appear to not be working. In particular, the setup method of the test itself is not being called
class MyControllerTest < ActionController::TestCase
tests MyController
def setup
super
@user = users(:aaron)
end
def test_user
p @user
end
end
prints "nil". It does appear that the setup method in ActionController::TestCase is being called.
Older functional tests that subclass from Test::Unit::TestCase are not affected, however helper tests that mock controllers do seem to have the same problem.