summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorsdelano <stephen@opscode.com>2010-08-18 00:41:57 -0700
committerDaniel DeLeo <dan@opscode.com>2010-08-23 17:25:21 -0700
commit8e0a1c97a9a85562cd8d97cf8ab62da964bc7f36 (patch)
treeda236957ec6cf89eff98bbaa1e6b4dcd96005a46 /Rakefile
parente1f8742845f93e6120d9eadcfa304d50969aca88 (diff)
downloadchef-8e0a1c97a9a85562cd8d97cf8ab62da964bc7f36.tar.gz
rename/rearrange cookbooks api feature tests
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|