diff options
author | John Keiser <jkeiser@opscode.com> | 2013-05-19 12:58:33 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-06-07 13:12:34 -0700 |
commit | 4e1e29f35c6e8460f1210fa0f2b5b5e8468f8767 (patch) | |
tree | 8b69af97336fc26e1c637cc2f712268a94c4c12f /spec/integration | |
parent | 5d00920a98df1938b6c0a099883595711a1bea08 (diff) | |
download | chef-4e1e29f35c6e8460f1210fa0f2b5b5e8468f8767.tar.gz |
Fix no-diff tests to actually use --no-diff
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/knife/download_spec.rb | 2 | ||||
-rw-r--r-- | spec/integration/knife/upload_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/knife/download_spec.rb b/spec/integration/knife/download_spec.rb index e95c6940d2..20ca7bcb79 100644 --- a/spec/integration/knife/download_spec.rb +++ b/spec/integration/knife/download_spec.rb @@ -192,7 +192,7 @@ EOM end it 'knife download --no-diff creates the extra files' do - knife('download /').should_succeed <<EOM + knife('download --no-diff /').should_succeed <<EOM Created /clients Created /clients/chef-validator.json Created /clients/chef-webui.json diff --git a/spec/integration/knife/upload_spec.rb b/spec/integration/knife/upload_spec.rb index e8e9a73fb8..c73a14f78b 100644 --- a/spec/integration/knife/upload_spec.rb +++ b/spec/integration/knife/upload_spec.rb @@ -91,7 +91,7 @@ EOM knife('diff --name-status /').should_succeed '' end it 'knife upload --no-diff does not change the role' do - knife('upload /').should_succeed '' + knife('upload --no-diff /').should_succeed '' knife('diff --name-status /').should_succeed "M\t/roles/x.json\n" end end @@ -148,7 +148,7 @@ EOM end it 'knife upload --no-diff adds the new files' do - knife('upload /').should_succeed <<EOM + knife('upload --no-diff /').should_succeed <<EOM Created /clients/y.json Updated /cookbooks/x Created /cookbooks/y |