diff options
author | danielsdeleo <dan@getchef.com> | 2014-03-14 13:11:00 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2014-03-14 14:09:37 -0700 |
commit | 33b2ae7adef917ddcafb93f3bca6a28d0f750c03 (patch) | |
tree | e664df769ecce7e31824bc3db0129760749fd761 /spec/integration/solo | |
parent | aa9585f2f7d214c667fcba4cbf61e7e8114484ab (diff) | |
download | chef-33b2ae7adef917ddcafb93f3bca6a28d0f750c03.tar.gz |
Change missing dependency from hard error to warning for now.
Diffstat (limited to 'spec/integration/solo')
-rw-r--r-- | spec/integration/solo/solo_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/solo/solo_spec.rb b/spec/integration/solo/solo_spec.rb index f688a16430..23ec8d0bad 100644 --- a/spec/integration/solo/solo_spec.rb +++ b/spec/integration/solo/solo_spec.rb @@ -55,8 +55,8 @@ cookbook_path "#{path_to('cookbooks')}" file_cache_path "#{path_to('config/cache')}" EOM result = shell_out("ruby bin/chef-solo -c \"#{path_to('config/solo.rb')}\" -o 'x::default' -l debug", :cwd => chef_dir) - result.exitstatus.should == 1 - result.stdout.should include("Chef::Exceptions::MissingCookbookDependency") + result.exitstatus.should == 0 # For CHEF-5120 this becomes 1 + result.stdout.should include("WARN: MissingCookbookDependency") end end |