mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Merge remote-tracking branch 'GrantBirki/master'
PR: https://github.com/icy-arctic-fox/spectator/pull/57
This commit is contained in:
commit
12f3f35958
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ module Spectator::DSL
|
|||
# This isn't required, but new_mock() should still find this type.
|
||||
::Spectator::DSL::Mocks::TYPES << {type.id.symbolize, @type.name(generic_args: false).symbolize, resolved.name.symbolize} %}
|
||||
|
||||
::Spectator::Mock.inject({{base}}, ::{{resolved.name}}, {{**value_methods}}) {{block}}
|
||||
::Spectator::Mock.inject({{base}}, {{resolved.name}}, {{**value_methods}}) {{block}}
|
||||
end
|
||||
|
||||
# Targets a stubbable object (such as a mock or double) for operations.
|
||||
|
|
Loading…
Reference in a new issue