From 2c471e0c7bf0e79017e65a78b59b59bd78b92152 Mon Sep 17 00:00:00 2001 From: John Keiser Date: Wed, 27 Jan 2016 15:51:04 -0800 Subject: Adjust tests for ACLs --- spec/integration/knife/chef_fs_data_store_spec.rb | 17 ++++++++++-- spec/integration/knife/download_spec.rb | 9 +++++++ spec/integration/knife/list_spec.rb | 33 +++++++++++++++++++++++ 3 files changed, 57 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/integration/knife/chef_fs_data_store_spec.rb b/spec/integration/knife/chef_fs_data_store_spec.rb index 145adc3e4c..b836ebac82 100644 --- a/spec/integration/knife/chef_fs_data_store_spec.rb +++ b/spec/integration/knife/chef_fs_data_store_spec.rb @@ -37,6 +37,7 @@ describe "ChefFSDataStore tests", :workstation do when_the_repository "has one of each thing" do before do file "clients/x.json", {} + file "cookbook_artifacts/x-111/metadata.rb", cookbook_x_100_metadata_rb file "cookbooks/x/metadata.rb", cookbook_x_100_metadata_rb file "data_bags/x/y.json", {} file "environments/x.json", {} @@ -47,18 +48,20 @@ describe "ChefFSDataStore tests", :workstation do file "groups/x.json", {} file "containers/x.json", {} file "groups/x.json", {} - file "policies/x.json", {} + file "policies/x-111.json", {} file "policy_groups/x.json", {} end context "GET /TYPE" do - it "knife list -z -R returns everything" do + it "knife list -z -R returns everything", :focus do knife("list -z -Rfp /").should_succeed <