summaryrefslogtreecommitdiff
path: root/spec/unit/knife/cookbook_upload_spec.rb
diff options
context:
space:
mode:
authorJosh Murphy <josh.murphy@cerner.com>2013-12-30 16:26:58 -0600
committerBryan McLellan <btm@getchef.com>2014-03-19 14:39:24 -0700
commit4c5eb3eeff27f58009cc45de18f97d27d9d1355c (patch)
treeb18fd131b738f49483ffddb58f681401ae56adc8 /spec/unit/knife/cookbook_upload_spec.rb
parente21a5cd7327f85b9469429a3b722402b951d1f8f (diff)
downloadchef-4c5eb3eeff27f58009cc45de18f97d27d9d1355c.tar.gz
CHEF-4851 - Broke testing of cookbooks and versions into own includes.
- This is to fix Travis builds for 1.8.7 which has brought back the dependencies in different orders - I can replicate Travis behavior on my Mac where sometimes the tests pass and sometimes the pass fail before this fix
Diffstat (limited to 'spec/unit/knife/cookbook_upload_spec.rb')
-rw-r--r--spec/unit/knife/cookbook_upload_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/knife/cookbook_upload_spec.rb b/spec/unit/knife/cookbook_upload_spec.rb
index cc27e101e8..32c230157d 100644
--- a/spec/unit/knife/cookbook_upload_spec.rb
+++ b/spec/unit/knife/cookbook_upload_spec.rb
@@ -183,7 +183,9 @@ describe Chef::Knife::CookbookUpload do
expect {@knife.run}.to raise_error(SystemExit)
@stderr.string.should include('Cookbook test_cookbook depends on cookbooks which are not currently')
@stderr.string.should include('being uploaded and cannot be found on the server.')
- @stderr.string.should include("The missing cookbook(s) are: 'dependency' version '>= 0.0.0', 'dependency2' version '>= 0.0.0'")
+ @stderr.string.should include("The missing cookbook(s) are:")
+ @stderr.string.should include("'dependency' version '>= 0.0.0'")
+ @stderr.string.should include("'dependency2' version '>= 0.0.0'")
end
end