Workaround absolute path requirement for mock injection

This commit is contained in:
Michael Miller 2022-07-13 12:23:28 -06:00
parent ac3b322900
commit 14d8c046f0
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF
2 changed files with 7 additions and 6 deletions

View file

@ -96,6 +96,7 @@ module Spectator
# The original method functionality will still be accessible, but pass through mock code first.
# *base* is the keyword for the type being defined - class or struct.
# *type_name* is the name of the type to inject mock functionality into.
# This _must_ be full, resolvable path to the type.
# An optional *name* of the mock can be provided.
# Any key-value pairs provided with *value_methods* are used as initial stubs for the mocked type.
#