diff options
Diffstat (limited to 'spec/integration/knife/diff_spec.rb')
-rw-r--r-- | spec/integration/knife/diff_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/integration/knife/diff_spec.rb b/spec/integration/knife/diff_spec.rb index 82d0fc7f51..e673f6163a 100644 --- a/spec/integration/knife/diff_spec.rb +++ b/spec/integration/knife/diff_spec.rb @@ -188,6 +188,13 @@ D\t/cookbooks/x/onlyin1.0.1.rb A\t/cookbooks/x/onlyin1.0.0.rb EOM end + + it 'knife diff --diff-filter=MAT does not show deleted files' do + knife('diff --diff-filter=MAT --name-status /cookbooks/x').should_succeed <<EOM +M\t/cookbooks/x/metadata.rb +A\t/cookbooks/x/onlyin1.0.0.rb +EOM + end end when_the_chef_server 'has an earlier version for the cookbook' do |