Skip to content

Commit

Permalink
Adding "test" to the lib directory when running action pack tests on …
Browse files Browse the repository at this point in the history
…new base
  • Loading branch information
Yehuda Katz + Carl Lerche committed Jun 10, 2009
1 parent 4fc0778 commit 37be453
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actionpack/Rakefile
Expand Up @@ -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

Expand Down

0 comments on commit 37be453

Please sign in to comment.