summaryrefslogtreecommitdiff
path: root/spec/support/shared/context/win32.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared/context/win32.rb')
-rw-r--r--spec/support/shared/context/win32.rb8
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