diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-09-03 15:25:08 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-09-08 11:10:07 -0700 |
commit | b534056debd3b1f5a6c0df58dad7cfc34634dbd3 (patch) | |
tree | 4f7ca7c753f9f17c508a97aed524b4ec73266c5b /spec/functional | |
parent | ac080bb63f13d5a340e40e65183474079050a029 (diff) | |
download | chef-b534056debd3b1f5a6c0df58dad7cfc34634dbd3.tar.gz |
Marshall.dump can't dump an IO
which can be an argument to shell_out which means that we have to
manually dup things before mutating.
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/resource/deploy_revision_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/functional/resource/deploy_revision_spec.rb b/spec/functional/resource/deploy_revision_spec.rb index 9ff1391e35..eae422ac1d 100644 --- a/spec/functional/resource/deploy_revision_spec.rb +++ b/spec/functional/resource/deploy_revision_spec.rb @@ -59,7 +59,6 @@ describe Chef::Resource::DeployRevision, :unix_only => true do let(:event_dispatch) { Chef::EventDispatch::Dispatcher.new } let(:run_context) { Chef::RunContext.new(node, {}, event_dispatch) } - # These tests use git's bundle feature, which is a way to export an entire # git repo (or subset of commits) as a single file. # @@ -799,7 +798,6 @@ describe Chef::Resource::DeployRevision, :unix_only => true do deploy_to_latest_with_callback_tracking.run_action(:deploy) end - let(:deploy_that_fails) do resource = deploy_to_latest_rev.dup errant_callback = lambda {|x| raise Exception, "I am a failed deploy" } @@ -882,5 +880,3 @@ describe Chef::Resource::DeployRevision, :unix_only => true do end end - - |