summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2021-09-25 21:26:19 -0700
committerJohn McCrae <john.mccrae@progress.com>2021-09-25 21:26:19 -0700
commit972b7152d360119897dee57ef5e380b61369650f (patch)
treeef933e05cf75b2878368a3313a872b203e732695
parentc400702f4354ceb314e33db452af41056046d4ce (diff)
downloadchef-972b7152d360119897dee57ef5e380b61369650f.tar.gz
Updated the package source resource to accept credentials and updated the code to be more readable
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--spec/functional/resource/powershell_package_source_spec.rb2
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 7ba1a652bc..1bf65cfb62 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_not raise_error()
+ expect { subject.run_action(:unregister) }.to_not raise_error
end
end
end