From ff65b0cc3d105049c8c3edd64eede7143dff8281 Mon Sep 17 00:00:00 2001 From: Michael Pereira Date: Tue, 10 May 2016 19:30:44 +0000 Subject: try @thommay suggestion for resolving unit test issue --- spec/unit/provider/git_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/unit/provider/git_spec.rb') 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 -- cgit v1.2.1