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:
Michael Miller 2020-01-19 09:52:12 -07:00
parent 15f211c4b6
commit 272ebcd693

View file

@ -24,7 +24,7 @@ module Spectator
{{what}}
end
def _spectator_implicit_subject(*args)
def subject(*args)
described_class.new(*args)
end
{% else %}