From 8e0a1c97a9a85562cd8d97cf8ab62da964bc7f36 Mon Sep 17 00:00:00 2001 From: sdelano Date: Wed, 18 Aug 2010 00:41:57 -0700 Subject: rename/rearrange cookbooks api feature tests --- Rakefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Rakefile') 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| -- cgit v1.2.1