aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/test_help.rb15
1 files changed, 15 insertions, 0 deletions
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