diff options
author | John McCrae <john.mccrae@progress.com> | 2021-09-25 17:17:01 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2021-09-25 17:17:01 -0700 |
commit | c400702f4354ceb314e33db452af41056046d4ce (patch) | |
tree | b87f3b743320f6a1c816b54ae5216588800c256d | |
parent | d250ad33c08f0685a9d5c04bd9fde95cd12496cf (diff) | |
download | chef-jfm/powershell_package_source.tar.gz |
Updated the package source resource to accept credentials and updated the code to be more readablejfm/powershell_package_source
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | spec/functional/resource/powershell_package_source_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/powershell_package_source_spec.rb b/spec/functional/resource/powershell_package_source_spec.rb index bab6bf7b04..7ba1a652bc 100644 --- a/spec/functional/resource/powershell_package_source_spec.rb +++ b/spec/functional/resource/powershell_package_source_spec.rb @@ -74,7 +74,7 @@ describe Chef::Resource::PowershellPackageSource, :windows_gte_10 do end it "does not unregister the package source if not installed" do - expect { subject.run_action(:unregister) }.to raise_error(RuntimeError) + expect { subject.run_action(:unregister) }.to_not raise_error() end end end |