summaryrefslogtreecommitdiff
path: root/spec/unit/shell/model_wrapper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/shell/model_wrapper_spec.rb')
-rw-r--r--spec/unit/shell/model_wrapper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/shell/model_wrapper_spec.rb b/spec/unit/shell/model_wrapper_spec.rb
index 35dc591edc..17e4227a75 100644
--- a/spec/unit/shell/model_wrapper_spec.rb
+++ b/spec/unit/shell/model_wrapper_spec.rb
@@ -72,7 +72,7 @@ describe Shell::ModelWrapper do
# Creating a Chef::Search::Query object tries to read the private key...
@searcher = mock("Chef::Search::Query #{__FILE__}:#{__LINE__}")
- Chef::Search::Query.stub!(:new).and_return(@searcher)
+ Chef::Search::Query.stub(:new).and_return(@searcher)
end
it "falls back to listing the objects when the 'query' is :all" do