test_help.rb
Path
railties/lib/test_help.rb
Modified
Mon Dec 01 19:24:32 -0500 2008
Description
Make double-sure the RAILS_ENV is set to test, so fixtures are loaded to the right database
Required Files
test/unit
active_support/test_case
action_controller/test_case
action_view/test_case
action_controller/integration
action_mailer/test_case
active_record/test_case
active_record/fixtures
Methods
create_fixtures
Constants
RAILS_ENV
"test" }
Public Instance methods
create_fixtures
(*table_names, &block)