diff --git a/src/spectator/dsl.cr b/src/spectator/dsl.cr index b7e0ebe..a6041f7 100644 --- a/src/spectator/dsl.cr +++ b/src/spectator/dsl.cr @@ -31,6 +31,10 @@ module Spectator def described_class {{what}} end + + def subject + described_class.new + end {% end %} end