summaryrefslogtreecommitdiff
path: root/spec/unit/shell
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-29 18:42:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-29 18:42:40 -0800
commite42e6fe2d0c971882451d27c986b9930de7d2ffe (patch)
treec52bf04ecf3d870298a05a30dfe05d2d3c8335d3 /spec/unit/shell
parent647d75df3caa7172754d9dfc2f9fe767aeb91857 (diff)
downloadchef-e42e6fe2d0c971882451d27c986b9930de7d2ffe.tar.gz
remove some more deprecation warnings
Diffstat (limited to 'spec/unit/shell')
-rw-r--r--spec/unit/shell/shell_session_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/shell/shell_session_spec.rb b/spec/unit/shell/shell_session_spec.rb
index d305ed0ec6..e5fc46e945 100644
--- a/spec/unit/shell/shell_session_spec.rb
+++ b/spec/unit/shell/shell_session_spec.rb
@@ -52,7 +52,7 @@ describe Shell::ClientSession do
@session = Shell::ClientSession.instance
@node = Chef::Node.build("foo")
@session.node = @node
- @session.instance_variable_set(:@client, stub(:sync_cookbooks => {}))
+ @session.instance_variable_set(:@client, double(:sync_cookbooks => {}))
@expansion = Chef::RunList::RunListExpansion.new(@node.chef_environment, [])
@node.run_list.should_receive(:expand).with(@node.chef_environment).and_return(@expansion)