aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/lib/test_help.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/test_help.rb b/railties/lib/test_help.rb
index 12aaf9753f..0c6a8178c5 100644
--- a/railties/lib/test_help.rb
+++ b/railties/lib/test_help.rb
@@ -1,6 +1,6 @@
require_dependency 'application'
-# Make double-sure the RAILS_ENV is set to test,
+# Make double-sure the RAILS_ENV is set to test,
# so fixtures are loaded to the right database
silence_warnings { RAILS_ENV = "test" }
@@ -12,6 +12,7 @@ require 'action_web_service/test_invoke'
require 'breakpoint'
Test::Unit::TestCase.fixture_path = RAILS_ROOT + "/test/fixtures/"
+ActionController::IntegrationTest.fixture_path = Test::Unit::TestCase.fixture_path
def create_fixtures(*table_names)
Fixtures.create_fixtures(RAILS_ROOT + "/test/fixtures", table_names)