mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix passing along mock body
This commit is contained in:
parent
03754321b5
commit
b6083f0e09
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ module Spectator::DSL
|
|||
end %}
|
||||
|
||||
::Spectator::Mock.define_subtype({{base}}, {{type.id}}, {{mock_type_name}}, {{name}}, {{**value_methods}}){% if block %} do
|
||||
{% block.body %}
|
||||
{{block.body}}
|
||||
end{% end %}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue