mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
fix: Error: expecting token 'CONST', not '::'
This commit is contained in:
parent
287758e6af
commit
73e1686219
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