diff options
author | Michael Pereira <pereira.m@gmail.com> | 2016-05-10 19:30:44 +0000 |
---|---|---|
committer | Michael Pereira <pereira.m@gmail.com> | 2016-05-10 19:30:44 +0000 |
commit | ff65b0cc3d105049c8c3edd64eede7143dff8281 (patch) | |
tree | a60270cba5729059298ef3f9a7279369ad410afd | |
parent | d7fa6ca43b920e57ad215a2c456f22226da424f1 (diff) | |
download | chef-ff65b0cc3d105049c8c3edd64eede7143dff8281.tar.gz |
try @thommay suggestion for resolving unit test issue
-rw-r--r-- | spec/unit/provider/git_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/git_spec.rb b/spec/unit/provider/git_spec.rb index 48d710450b..7f8e98646d 100644 --- a/spec/unit/provider/git_spec.rb +++ b/spec/unit/provider/git_spec.rb @@ -297,7 +297,7 @@ SHAS end before { @resource.environment(override_home) } it "clones a repo with amended git options with specific home" do - expect(@provider).to receive(:shell_out!).with(expected_cmd, overrided_options) + expect(@provider).to receive(:shell_out!).with(expected_cmd, hash_including(overrided_options)) @provider.clone end end |