Skip to content

Commit 86048b5

Browse files
committed
(maint) Adds Registry::API mock module
Prior to this commit, the monkeypatching for mocks was overwriting the win32/registry class but ommited the API module. This commit adds that module back.
1 parent f97ec65 commit 86048b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/mocks/win32.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ def keys; end
66

77
def close; end
88

9+
module API
10+
end
11+
912
class HKEY_LOCAL_MACHINE
1013
def self.open(*); end
1114

0 commit comments

Comments
 (0)