diff options
-rw-r--r-- | spec/integration/knife/chefignore_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/integration/knife/chefignore_spec.rb b/spec/integration/knife/chefignore_spec.rb index f2a8d9ad75..e8d38af28c 100644 --- a/spec/integration/knife/chefignore_spec.rb +++ b/spec/integration/knife/chefignore_spec.rb @@ -38,14 +38,13 @@ describe 'chefignore tests' do file 'data_bags/bag1/chefignore', chefignore file 'cookbooks/cookbook1/chefignore', chefignore - it 'nothing is ignored' do + it 'matching files and directories get ignored' do # NOTE: many of the "chefignore" files should probably not show up # themselves, but we have other tests that talk about that knife('list --local -Rfp /').should_succeed <<EOM /cookbooks/ /cookbooks/cookbook1/ /cookbooks/cookbook1/chefignore -/cookbooks/cookbook1/x.json /data_bags/ /data_bags/bag1/ /data_bags/bag1/x.json @@ -267,5 +266,5 @@ EOM /cookbooks/chefignore/metadata.rb EOM end - end + end end |