summaryrefslogtreecommitdiff
path: root/spec/support/shared/functional/windows_script.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-17 23:34:48 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-17 23:34:48 -0700
commit97e20b05c4b4b4e63518bc79a4d5d0b267f21f99 (patch)
treedc12c8c67643bd1a697445863b755121d9975f9a /spec/support/shared/functional/windows_script.rb
parent44b62029f97cbeacb9d6a99a2d6da18097e3108b (diff)
downloadchef-warnings.tar.gz
Resolve 2 more ruby 2.7 warnings from shell_outwarnings
I believe this is the last of these from shell_out. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/support/shared/functional/windows_script.rb')
-rw-r--r--spec/support/shared/functional/windows_script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/functional/windows_script.rb b/spec/support/shared/functional/windows_script.rb
index fa3416eed4..42ebe4e63f 100644
--- a/spec/support/shared/functional/windows_script.rb
+++ b/spec/support/shared/functional/windows_script.rb
@@ -146,7 +146,7 @@ shared_context Chef::Resource::WindowsScript do
shared_examples_for "a script whose file system location cannot be accessed by other non-admin users" do
let(:ruby_access_command) { file_access_command }
it "generates a script in the local file system that prevents read access to other non-admin users" do
- shell_out!(access_command, { user: windows_nonadmin_user, password: windows_nonadmin_user_password, returns: [access_denied_sentinel] })
+ shell_out!(access_command, user: windows_nonadmin_user, password: windows_nonadmin_user_password, returns: [access_denied_sentinel] )
end
end