diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-06-30 13:51:53 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-06-30 13:51:53 -0700 |
commit | 0dd6946348d80184a2f7315140ed9795c5185a37 (patch) | |
tree | 62d6605ca73d9e93c507c3dbc52e154733f4ab35 /spec/unit/provider | |
parent | 81ec58e39e8c1cf53ad43612c20a279a345bcfce (diff) | |
download | chef-0dd6946348d80184a2f7315140ed9795c5185a37.tar.gz |
[ci skip] a typo
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/provider')
-rw-r--r-- | spec/unit/provider/execute_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/execute_spec.rb b/spec/unit/provider/execute_spec.rb index ff74f3d887..58cb9f33a8 100644 --- a/spec/unit/provider/execute_spec.rb +++ b/spec/unit/provider/execute_spec.rb @@ -89,7 +89,7 @@ describe Chef::Provider::Execute do # do that we get dirty and start mocking the implementation of the shell_out mixin itself. while arguments like # "timeout", "returns", "log_level" and "log_tag" appear here, we MUST NOT have an "environment" or "env" argument # that we are passing to Mixlib::ShellOut by default -- ever. you might have to add some other argument here from - # time to time, but you MUST NOT change the enviroment. + # time to time, but you MUST NOT change the environment. it "does not use shell_out in such a way as to insert extra environment variables" do mock = instance_double(Mixlib::ShellOut) expect(Mixlib::ShellOut).to receive(:new).with("foo_resource", { timeout: 3600, returns: 0, log_level: :info, log_tag: "execute[foo_resource]" }).and_return(mock) |