mirror of
https://github.com/github/rails.git
synced 2026-01-29 16:28:09 -05:00
merge 5639 to trunk
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user