# File lib/spec/example/subject.rb, line 23 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