diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-11-27 12:30:57 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-11-27 12:30:57 +0000 |
commit | 4eda45bfa6b44aaae6b19a5143fce9d830eb6f5a (patch) | |
tree | 6755bf2f168dc30ed5fa058717aa58d864a51667 | |
parent | 41c64d12665338fa3e48095b132a1d79baa05119 (diff) | |
download | redmine-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
-rw-r--r-- | lib/tasks/redmine.rake | 7 |
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 |