diff options
author | Matt Veitas <mveitas@gmail.com> | 2014-03-09 18:00:24 -0400 |
---|---|---|
committer | Bryan McLellan <btm@getchef.com> | 2014-03-28 16:16:47 -0700 |
commit | 714033ae03e7e64936864e20a41dab5bafdcf595 (patch) | |
tree | 9c9695c4f9f08efa636d4321e560029ed0e37ac6 /spec/integration/knife | |
parent | 6aff6124ccb37e267e1fa6ca68a2ad96f1bb63c0 (diff) | |
download | chef-714033ae03e7e64936864e20a41dab5bafdcf595.tar.gz |
Fixing an integration test that was assuming the chefignore would be only located in the cookbooks directory
Diffstat (limited to 'spec/integration/knife')
-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 |