summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@chef.io>2015-12-11 10:44:41 -0800
committerChris Doherty <cdoherty@chef.io>2016-01-08 10:54:16 -0800
commita9df3f8c66d3f27fbc284c179db2b44754fc64b7 (patch)
treefd1d3b59ddc564267498398fa79858d9a554f6a8
parent36241921ca518cdc863fb3ed703635fee37605ca (diff)
downloadchef-cd/artifacts-cheffs.tar.gz
Checkpoint, just started on upload_spec.cd/artifacts-cheffs
-rw-r--r--spec/integration/knife/upload_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/integration/knife/upload_spec.rb b/spec/integration/knife/upload_spec.rb
index f7d4fb3cd4..7cece417ec 100644
--- a/spec/integration/knife/upload_spec.rb
+++ b/spec/integration/knife/upload_spec.rb
@@ -1288,6 +1288,7 @@ EOM
file 'clients/x.json', { 'public_key' => ChefZero::PUBLIC_KEY }
file 'containers/x.json', {}
file 'cookbooks/x/metadata.rb', cb_metadata("x", "1.0.0")
+ file 'cookbook_artifacts/x/metadata.rb', cb_metadata("x", "abcdef1234567890")
file 'data_bags/x/y.json', {}
file 'environments/x.json', {}
file 'groups/x.json', {}
@@ -1307,6 +1308,7 @@ Updated /acls/groups/blah.json
Created /clients/x.json
Created /containers/x.json
Created /cookbooks/x
+Created /cookbook_artifacts/x/metadata.rb
Created /data_bags/x
Created /data_bags/x/y.json
Created /environments/x.json
@@ -1333,6 +1335,7 @@ EOM
# acl_for %w(organizations foo groups blah)
client 'x', {}
cookbook 'x', '1.0.0'
+ cookbook_artifact 'x', 'abcdef1234567890'
container 'x', {}
data_bag 'x', { 'y' => {} }
environment 'x', {}
@@ -1376,6 +1379,7 @@ EOM
client 'x', { 'validator' => true }
container 'x', {}
cookbook 'x', '1.0.0', { 'recipes' => { 'default.rb' => '' } }
+ cookbook_artifact 'x', 'abcdef1234567890', { 'recipes' => { 'default.rb' => '' } }
data_bag 'x', { 'y' => { 'a' => 'b' } }
environment 'x', { 'description' => 'foo' }
group 'x', { 'groups' => [ 'admin' ] }
@@ -1397,6 +1401,7 @@ EOM
Updated /acls/groups/blah.json
Updated /clients/x.json
Updated /cookbooks/x
+Updated /cookbook_artifacts/x
Updated /data_bags/x/y.json
Updated /environments/x.json
Updated /groups/x.json