summaryrefslogtreecommitdiff
path: root/tasks/external_tests.rb
blob: 2ff991ddf72008bdfa8763004105b2b1b10c437a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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