diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-18 12:13:36 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-18 12:13:36 -0700 |
commit | cf67291bc9e2850a8b7ab2753453720acc5df588 (patch) | |
tree | ce12ca66dc45faafd8def438ba209b2ba38d9585 | |
parent | 8b1b83908886367148b274a6cec8330f36003226 (diff) | |
download | chef-cf67291bc9e2850a8b7ab2753453720acc5df588.tar.gz |
fix unit testlcg/fix-removing-nonexistent-profile
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/resource/osx_profile_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/osx_profile_spec.rb b/spec/unit/resource/osx_profile_spec.rb index a9acadced8..7e2173f823 100644 --- a/spec/unit/resource/osx_profile_spec.rb +++ b/spec/unit/resource/osx_profile_spec.rb @@ -155,7 +155,7 @@ describe Chef::Resource::OsxProfile do resource.profile_name profile_name allow(provider).to receive(:get_installed_profiles).and_call_original allow(provider).to receive(:read_plist).and_return(all_profiles) - expect(provider).to receive(:shell_out_compacted!).with("/usr/bin/profiles", "-P", "-o", kind_of(String)) + expect(provider).to receive(:shell_out_compacted).with("/usr/bin/profiles", "-P", "-o", kind_of(String)) provider.load_current_resource end |