1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Adding "test" to the lib directory when running action pack tests on new base

This commit is contained in:
Yehuda Katz + Carl Lerche 2009-06-10 12:26:03 -07:00
parent 4fc0778123
commit 37be453a87

View file

@ -24,7 +24,9 @@ task :default => [ :test ]
desc "Run all unit tests"
task :test => [:test_action_pack, :test_active_record_integration, :test_new_base, :test_new_base_on_old_tests]
test_lib_dirs = [ENV["NEW"] ? "test/new_base" : "test", "test/lib"]
test_lib_dirs = ENV["NEW"] ? ["test/new_base"] : []
test_lib_dirs.push "test", "test/lib"
# test_lib_dirs = [ENV["NEW"] ? "test/new_base" : "test", "test/lib"]
Rake::TestTask.new(:test_action_pack) do |t|
t.libs.concat test_lib_dirs