summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Murphy <josh.murphy@cerner.com>2014-11-18 07:21:26 -0600
committerLamont Granquist <lamont@scriptkiddie.org>2015-01-25 11:03:39 -0800
commitdf0e30c5d2b82d6b1a45f13cbc9735bd670f35d3 (patch)
treec9a1b44dbfe31f98aa6bf827b2537d3668d129de
parentdd4147819fa864b8b363226c8143fceeaef4bc9a (diff)
downloadchef-df0e30c5d2b82d6b1a45f13cbc9735bd670f35d3.tar.gz
Removed repeated test line in cookbook_upload_spec
-rw-r--r--spec/unit/knife/cookbook_upload_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/knife/cookbook_upload_spec.rb b/spec/unit/knife/cookbook_upload_spec.rb
index 11d01e9a59..3e6381083c 100644
--- a/spec/unit/knife/cookbook_upload_spec.rb
+++ b/spec/unit/knife/cookbook_upload_spec.rb
@@ -286,7 +286,6 @@ E
end
it 'should warn users that no cookbooks exist' do
- expect(knife).to_not receive(:upload)
expect(knife.ui).to receive(:warn).with(/Could not find any cookbooks in your cookbook path\. Use --cookbook-path to specify the desired path\./)
knife.run
end