summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 441a9c688a..e81536b373 100644
--- a/Rakefile
+++ b/Rakefile
@@ -338,10 +338,15 @@ begin
end
end
+ desc "Run cucumber tests for the cookbooks portion of the REST API"
+ Cucumber::Rake::Task.new(:cookbooks) do |t|
+ t.profile = "api_cookbooks"
+ end
namespace :cookbooks do
- desc "Run cucumber tests for the cookbooks portion of the REST API"
- Cucumber::Rake::Task.new(:cookbooks) do |t|
- t.profile = "api_cookbooks"
+ %w{list show upload download delete}.each do |action|
+ Cucumber::Rake::Task.new(action) do |t|
+ t.profile = "api_cookbooks_#{action}"
+ end
end
Cucumber::Rake::Task.new(:cookbook_tarballs) do |t|