summaryrefslogtreecommitdiff
path: root/spec/functional/resource
diff options
context:
space:
mode:
authorNitz <nitz.raz@gmail.com>2015-03-31 18:12:35 +0300
committerNitz <nitz.raz@gmail.com>2015-08-18 16:27:43 +0300
commitc93f286bb7c187522a1294ea8e52a5aa04273162 (patch)
tree305580570d095556404ee66b12041b0ffbd1a3e0 /spec/functional/resource
parentbacb2ff93ccc2e14a0b721988e241a1d07f70795 (diff)
downloadchef-c93f286bb7c187522a1294ea8e52a5aa04273162.tar.gz
Migrated deploy resource to use shell_out instead of run_command
Should help with troubleshooting failed migrations
Diffstat (limited to 'spec/functional/resource')
-rw-r--r--spec/functional/resource/deploy_revision_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/deploy_revision_spec.rb b/spec/functional/resource/deploy_revision_spec.rb
index e5f5341fcd..4bce309a51 100644
--- a/spec/functional/resource/deploy_revision_spec.rb
+++ b/spec/functional/resource/deploy_revision_spec.rb
@@ -819,7 +819,7 @@ describe Chef::Resource::DeployRevision, :unix_only => true do
end
before do
- expect { deploy_that_fails.run_action(:deploy) }.to raise_error(Chef::Exceptions::Exec)
+ expect { deploy_that_fails.run_action(:deploy) }.to raise_error(Mixlib::ShellOut::ShellCommandFailed)
deploy_to_latest_with_callback_tracking.run_action(:deploy)
end