mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Workaround absolute path requirement for mock injection
This commit is contained in:
parent
ac3b322900
commit
14d8c046f0
2 changed files with 7 additions and 6 deletions
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue