diff options
author | Thom May <thom@chef.io> | 2016-01-13 09:50:23 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-13 09:50:23 +0000 |
commit | 0e4b96f3414ef7d9599c70f2661bea8c2037aad5 (patch) | |
tree | 5e9b9424ad5b7e320f187ebd020a216bbdb5bf68 /spec/support/shared/context/win32.rb | |
parent | 556e5f2d78b5c6de2f34d8dd655ee515ff317296 (diff) | |
download | chef-tm/string_literals.tar.gz |
Use double quotes by defaulttm/string_literals
This is an entirely mechanically generated (rubocop -a) change, to go
along with chef/chefstyle#5 . We should pick something and use it
consistently, and my opinion is that double quotes are the appropriate
thing.
Diffstat (limited to 'spec/support/shared/context/win32.rb')
-rw-r--r-- | spec/support/shared/context/win32.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/shared/context/win32.rb b/spec/support/shared/context/win32.rb index 60ed92ca1d..9e0099d8af 100644 --- a/spec/support/shared/context/win32.rb +++ b/spec/support/shared/context/win32.rb @@ -18,8 +18,8 @@ RSpec.shared_context "Win32" do before(:all) do @original_win32 = if defined?(Win32) - win32 = Object.send(:const_get, 'Win32') - Object.send(:remove_const, 'Win32') + win32 = Object.send(:const_get, "Win32") + Object.send(:remove_const, "Win32") win32 else nil @@ -28,7 +28,7 @@ RSpec.shared_context "Win32" do end after(:all) do - Object.send(:remove_const, 'Win32') if defined?(Win32) - Object.send(:const_set, 'Win32', @original_win32) if @original_win32 + Object.send(:remove_const, "Win32") if defined?(Win32) + Object.send(:const_set, "Win32", @original_win32) if @original_win32 end end |