Commit ba2022b9f2e034bb91da22235bd6d69dbf9728eb

Authored by Victor Costa
1 parent 05c93013

Run api tests in plugins

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
lib/tasks/plugins_tests.rake
@@ -9,7 +9,7 @@ $broken_plugins = %w[ @@ -9,7 +9,7 @@ $broken_plugins = %w[
9 @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template'] 9 @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template']
10 @all_plugins.sort! 10 @all_plugins.sort!
11 11
12 -@all_tasks = [:units, :functionals, :integration, :cucumber, :selenium] 12 +@all_tasks = [:units, :api, :functionals, :integration, :cucumber, :selenium]
13 13
14 def enabled_plugins 14 def enabled_plugins
15 Dir.glob('{baseplugins,config/plugins}/*').map { |f| File.basename(f) } - ['README'] 15 Dir.glob('{baseplugins,config/plugins}/*').map { |f| File.basename(f) } - ['README']
@@ -87,6 +87,8 @@ def task2folder(task) @@ -87,6 +87,8 @@ def task2folder(task)
87 result = case task.to_sym 87 result = case task.to_sym
88 when :units 88 when :units
89 :unit 89 :unit
  90 + when :api
  91 + :api
90 when :functionals 92 when :functionals
91 :functional 93 :functional
92 when :integration 94 when :integration