diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/helpers/test_helper.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/helpers/test_helper.rb b/railties/helpers/test_helper.rb index 314b8ae3bd..72a8ca086b 100644 --- a/railties/helpers/test_helper.rb +++ b/railties/helpers/test_helper.rb @@ -11,10 +11,6 @@ require 'action_controller/test_process' require 'action_web_service/test_invoke' require 'breakpoint' -def create_fixtures(*table_names) - Fixtures.create_fixtures(File.dirname(__FILE__) + "/fixtures", table_names) -end - Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/" class Test::Unit::TestCase @@ -22,5 +18,9 @@ class Test::Unit::TestCase # self.use_transactional_fixtures = true # self.use_instantiated_fixtures = false - # Add helper methods to be used by all tests here -end + def create_fixtures(*table_names) + Fixtures.create_fixtures(File.dirname(__FILE__) + "/fixtures", table_names) + end + + # Add more helper methods to be used by all tests here... +end
\ No newline at end of file |