diff options
author | James Turnbull <james@lovedthanlost.net> | 2009-03-04 19:23:56 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-03-04 19:23:56 +1100 |
commit | 719a8df167b7456fe0a1b7b05aff246aa6f73d39 (patch) | |
tree | 816ce36d161a0aae77cd3a73c95c2b0af869086f | |
parent | ac87600bfc63ab589f3f691fd649f496467cc048 (diff) | |
download | puppet-719a8df167b7456fe0a1b7b05aff246aa6f73d39.tar.gz puppet-719a8df167b7456fe0a1b7b05aff246aa6f73d39.tar.xz puppet-719a8df167b7456fe0a1b7b05aff246aa6f73d39.zip |
Fixed to rake tests for reductivelabs build
-rw-r--r-- | tasks/rake/reductive.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/rake/reductive.rb b/tasks/rake/reductive.rb index 2fbd2b4d9..ed4abd9e8 100644 --- a/tasks/rake/reductive.rb +++ b/tasks/rake/reductive.rb @@ -455,10 +455,10 @@ class Rake::RedLabProject < Rake::TaskLib desc "Run all unit tests." task :alltests do - if FileTest.exists?("test/Rakefile") - sh %{cd test; rake} + if FileTest.exists?("spec/Rakefile") + sh %{cd spec; rake} else - Dir.chdir("test") do + Dir.chdir("spec") do Dir.entries(".").find_all { |f| f =~ /\.rb/ }.each do |f| sh %{ruby #{f}} end |