summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-04-24 22:52:43 -0700
committerJohn Keiser <john@johnkeiser.com>2015-05-13 13:42:33 -0700
commitf605a8676c01e0b9b793a7645b814fe177fbd45e (patch)
tree723baca9d97dc2fb129d9994099f192706a4d7a2 /tasks
parenta379de8207f33938abac36cf415e0d593aa24d59 (diff)
downloadchef-f605a8676c01e0b9b793a7645b814fe177fbd45e.tar.gz
Add specs for many external dependent projects
Diffstat (limited to 'tasks')
-rw-r--r--tasks/external_tests.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/tasks/external_tests.rb b/tasks/external_tests.rb
new file mode 100644
index 0000000000..2ff991ddf7
--- /dev/null
+++ b/tasks/external_tests.rb
@@ -0,0 +1,29 @@
+task :chef_sugar_spec do
+ gem_path = Bundler.environment.specs['chef-sugar'].first.full_gem_path
+ system("cd #{gem_path} && rake")
+end
+
+task :foodcritic_spec do
+ gem_path = Bundler.environment.specs['foodcritic'].first.full_gem_path
+ system("cd #{gem_path} && rake test")
+end
+
+task :chefspec_spec do
+ gem_path = Bundler.environment.specs['chefspec'].first.full_gem_path
+ system("cd #{gem_path} && rake")
+end
+
+task :chef_rewind_spec do
+ gem_path = Bundler.environment.specs['chef-rewind'].first.full_gem_path
+ system("cd #{gem_path} && rake spec")
+end
+
+task :poise_spec do
+ gem_path = Bundler.environment.specs['poise'].first.full_gem_path
+ system("cd #{gem_path} && rake spec")
+end
+
+task :halite_spec do
+ gem_path = Bundler.environment.specs['halite'].first.full_gem_path
+ system("cd #{gem_path} && rake spec")
+end