diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-10 12:26:03 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-10 12:26:03 -0700 |
commit | 37be453a8709eb30c97f26369e352e5935436d97 (patch) | |
tree | 4246b0f1ad974868859185a102c4558e5f4749ac | |
parent | 4fc0778123fc775d106f6bc8a4a2a362bf0047ed (diff) | |
download | rails-37be453a8709eb30c97f26369e352e5935436d97.tar.gz rails-37be453a8709eb30c97f26369e352e5935436d97.tar.bz2 rails-37be453a8709eb30c97f26369e352e5935436d97.zip |
Adding "test" to the lib directory when running action pack tests on new base
-rw-r--r-- | actionpack/Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 074bc90ca9..53387d305c 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -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 |