提交 ccd18dc6 编写于 作者: S Scott Barron

Should be RAILS_ROOT/test/fixtures.

Closes #2476


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 985574c9
......@@ -6,8 +6,8 @@
require 'action_web_service/test_invoke'
require 'breakpoint'
Test::Unit::TestCase.fixture_path = RAILS_ROOT + "/fixtures/"
Test::Unit::TestCase.fixture_path = RAILS_ROOT + "/test/fixtures/"
def create_fixtures(*table_names)
Fixtures.create_fixtures(RAILS_ROOT + "/fixtures", table_names)
end
\ No newline at end of file
Fixtures.create_fixtures(RAILS_ROOT + "/test/fixtures", table_names)
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册