summaryrefslogtreecommitdiffstats
path: root/lib/tasks/redmine.rake
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-11-27 12:30:57 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-11-27 12:30:57 +0000
commit4eda45bfa6b44aaae6b19a5143fce9d830eb6f5a (patch)
tree6755bf2f168dc30ed5fa058717aa58d864a51667 /lib/tasks/redmine.rake
parent41c64d12665338fa3e48095b132a1d79baa05119 (diff)
downloadredmine-4eda45bfa6b44aaae6b19a5143fce9d830eb6f5a.tar.gz
redmine-4eda45bfa6b44aaae6b19a5143fce9d830eb6f5a.zip
add plugins ui tests rake task (#21361)
Patch by Maria Tikhonova. git-svn-id: http://svn.redmine.org/redmine/trunk@14891 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/redmine.rake')
-rw-r--r--lib/tasks/redmine.rake7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake
index c0b2b1d9e..89450c1c2 100644
--- a/lib/tasks/redmine.rake
+++ b/lib/tasks/redmine.rake
@@ -171,6 +171,13 @@ DESC
t.verbose = true
t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb"
end
+
+ desc 'Runs the plugins ui tests.'
+ Rake::TestTask.new :ui => "db:test:prepare" do |t|
+ t.libs << "test"
+ t.verbose = true
+ t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/ui/**/*_test.rb"
+ end
end
end
end