From e3bb9e7a9cc2ba1fd48cc3f4627a9a7493eaee49 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 15 Oct 2005 03:02:28 +0000 Subject: Cleaned up test_helper git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/test_help.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 railties/lib/test_help.rb (limited to 'railties/lib') diff --git a/railties/lib/test_help.rb b/railties/lib/test_help.rb new file mode 100644 index 0000000000..bd2234365b --- /dev/null +++ b/railties/lib/test_help.rb @@ -0,0 +1,15 @@ +require 'application' + +require 'test/unit' +require 'active_record/fixtures' +require 'action_controller/test_process' +require 'action_web_service/test_invoke' +require 'breakpoint' + +Test::Unit::TestCase.fixture_path = RAILS_ROOT + "/fixtures/" + +class Test::Unit::TestCase + def create_fixtures(*table_names) + Fixtures.create_fixtures(RAILS_ROOT + "/fixtures", table_names) + end +end \ No newline at end of file -- cgit v1.2.3