summaryrefslogtreecommitdiff
path: root/spec/unit/environment_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/environment_spec.rb')
-rw-r--r--spec/unit/environment_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/environment_spec.rb b/spec/unit/environment_spec.rb
index 5f9675a307..c0c4feee19 100644
--- a/spec/unit/environment_spec.rb
+++ b/spec/unit/environment_spec.rb
@@ -356,9 +356,9 @@ describe Chef::Environment do
describe "api model" do
before(:each) do
@rest = mock("Chef::REST")
- Chef::REST.stub!(:new).and_return(@rest)
+ Chef::REST.stub(:new).and_return(@rest)
@query = mock("Chef::Search::Query")
- Chef::Search::Query.stub!(:new).and_return(@query)
+ Chef::Search::Query.stub(:new).and_return(@query)
end
describe "list" do