Permalink
Browse files

merge 5639 to trunk

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 0a86122 commit 02dfb239fa953ebfbc9a9e7d10d71e3b03e5cf11 @NZKoz NZKoz committed Nov 27, 2006
Showing with 2 additions and 1 deletion.
  1. +2 −1 railties/lib/test_help.rb
View
3 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 '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)

0 comments on commit 02dfb23

Please sign in to comment.