diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2012-07-29 18:27:13 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2012-07-29 18:27:13 +0000 |
commit | 8f0947e5783f09ec398e56d68d3a400832b5f926 (patch) | |
tree | 139a708458f5ed8b328174f22400bbb4eae68265 | |
parent | d048d86c50901239e4e518f9cf7764f6740ea685 (diff) | |
download | redmine-8f0947e5783f09ec398e56d68d3a400832b5f926.tar.gz redmine-8f0947e5783f09ec398e56d68d3a400832b5f926.zip |
Fixed rake redmine:plugins:test:* not running some tests in subdirectories (#11533)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10135 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/tasks/redmine.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake index d59006637..3f69d36f5 100644 --- a/lib/tasks/redmine.rake +++ b/lib/tasks/redmine.rake @@ -97,21 +97,21 @@ namespace :redmine do Rake::TestTask.new :units => "db:test:prepare" do |t| t.libs << "test" t.verbose = true - t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/unit/*_test.rb"] + t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/unit/**/*_test.rb"] end desc 'Runs the plugins functional tests.' Rake::TestTask.new :functionals => "db:test:prepare" do |t| t.libs << "test" t.verbose = true - t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/functional/*_test.rb"] + t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/functional/**/*_test.rb"] end desc 'Runs the plugins integration tests.' Rake::TestTask.new :integration => "db:test:prepare" do |t| t.libs << "test" t.verbose = true - t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/integration/*_test.rb"] + t.test_files = FileList["plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"] end end end |