diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-06-24 13:11:27 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-06-24 17:47:50 -0700 |
commit | b7365397f410767234619d94129757c48b8d9456 (patch) | |
tree | 8225d25eac794fbdc113821ebf33916920b27ffa /spec/support/shared | |
parent | c7933fc1112a92ff2ebee80fbea0661766ec933b (diff) | |
download | chef-b7365397f410767234619d94129757c48b8d9456.tar.gz |
Fix some odd whitespacing in tests.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/support/shared')
-rw-r--r-- | spec/support/shared/functional/securable_resource.rb | 2 | ||||
-rw-r--r-- | spec/support/shared/functional/windows_script.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/shared/functional/securable_resource.rb b/spec/support/shared/functional/securable_resource.rb index 23e95732c9..7bbd7d1666 100644 --- a/spec/support/shared/functional/securable_resource.rb +++ b/spec/support/shared/functional/securable_resource.rb @@ -135,7 +135,7 @@ shared_context "use Windows permissions", :windows_only do } end - let (:write_flag) { 3 } + let(:write_flag) { 3 } RSpec::Matchers.define :have_expected_properties do |mask, type, flags| match do |ace| diff --git a/spec/support/shared/functional/windows_script.rb b/spec/support/shared/functional/windows_script.rb index 7747524d03..3ccb7b6e37 100644 --- a/spec/support/shared/functional/windows_script.rb +++ b/spec/support/shared/functional/windows_script.rb @@ -91,7 +91,7 @@ shared_context Chef::Resource::WindowsScript do end context "when the guard's architecture is specified as 64-bit" do - let (:guard_architecture) { :x86_64 } + let(:guard_architecture) { :x86_64 } it "executes a 64-bit guard", :windows64_only do resource.only_if resource_guard_command, architecture: guard_architecture resource.run_action(:run) @@ -100,7 +100,7 @@ shared_context Chef::Resource::WindowsScript do end context "when the guard's architecture is specified as 32-bit" do - let (:guard_architecture) { :i386 } + let(:guard_architecture) { :i386 } it "executes a 32-bit guard" do resource.only_if resource_guard_command, architecture: guard_architecture resource.run_action(:run) |