aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/helpers/test_helper.rb')
-rw-r--r--railties/helpers/test_helper.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/helpers/test_helper.rb b/railties/helpers/test_helper.rb
index a299c7f6db..d13753a655 100644
--- a/railties/helpers/test_helper.rb
+++ b/railties/helpers/test_helper.rb
@@ -24,5 +24,10 @@ class Test::Unit::TestCase
# then set this back to true.
self.use_instantiated_fixtures = false
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
+ # If you need to control the loading order (due to foreign key constraints etc), you'll
+ # need to change this line to explicitly name the order you desire.
+ fixtures :all
+
# Add more helper methods to be used by all tests here...
-end
+end \ No newline at end of file