module Maxitest::ImplicitSubject
def describe(*args, &block)
def describe(*args, &block) klass = super if args.first.is_a?(Class) && !klass.instance_methods(false).include?(:subject) klass.let(:subject) { args.first.new } end klass end
def describe(*args, &block) klass = super if args.first.is_a?(Class) && !klass.instance_methods(false).include?(:subject) klass.let(:subject) { args.first.new } end klass end