diff options
Diffstat (limited to 'spec/unit/user_spec.rb')
-rw-r--r-- | spec/unit/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/user_spec.rb b/spec/unit/user_spec.rb index 2363ce67ae..c535e4172b 100644 --- a/spec/unit/user_spec.rb +++ b/spec/unit/user_spec.rb @@ -196,7 +196,7 @@ describe Chef::User do before (:each) do @user = Chef::User.new @user.name "foobar" - @http_client = mock("Chef::REST mock") + @http_client = double("Chef::REST mock") Chef::REST.stub(:new).and_return(@http_client) end |