Flowdock
method

its

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Example::Subject::ExampleGroupMethods
its(attribute, &block) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# 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
Register or log in to add new notes.