Backports for Rails::Generator::TestCase helper modules for railties 3.2