summaryrefslogtreecommitdiffstats
path: root/lib/tasks/redmine.rake
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2012-11-01 09:40:40 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2012-11-01 09:40:40 +0000
commite00b4acf1e5d9cb4fc0fefeef44f4c96e27d8ef8 (patch)
treedf5f3870cfe2d18f46ae7a0709ac5ce91663eb44 /lib/tasks/redmine.rake
parent511e46e97830959db5a8213a45ffffab9234f317 (diff)
downloadredmine-e00b4acf1e5d9cb4fc0fefeef44f4c96e27d8ef8.tar.gz
redmine-e00b4acf1e5d9cb4fc0fefeef44f4c96e27d8ef8.zip
Use Rake::TestTask#pattern for plugin tests instead of #test_files (#11534)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10778 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/redmine.rake')
-rw-r--r--lib/tasks/redmine.rake6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake
index 3f69d36f5..01a4e6227 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.pattern = "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.pattern = "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.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"
end
end
end