module Spec::Example::Subject::ExampleGroupMethods
def its(attribute, &block)
def its(attribute, &block) describe(attribute) do example do self.class.class_eval do define_method(:subject) do super().send(attribute) end end instance_eval(&block) end end end