mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix subject with group describing a type
An explicit subject should be used when describing a type. This mimics RSpec.
This commit is contained in:
parent
15f211c4b6
commit
272ebcd693
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module Spectator
|
||||||
{{what}}
|
{{what}}
|
||||||
end
|
end
|
||||||
|
|
||||||
def _spectator_implicit_subject(*args)
|
def subject(*args)
|
||||||
described_class.new(*args)
|
described_class.new(*args)
|
||||||
end
|
end
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue