method

add_example_group

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Runner::Formatter::NestedTextFormatter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.2.0) is shown here.

These similar methods exist in 1.3.1:

add_example_group(example_group) public

No documentation

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

Hide source
# File lib/spec/runner/formatter/nested_text_formatter.rb, line 12
        def add_example_group(example_group)
          super

          example_group.nested_descriptions.each_with_index do |nested_description, i|
            unless nested_description == @last_nested_descriptions[i]
              output.puts "#{'  ' * i}#{nested_description}"
            end
          end

          @last_nested_descriptions = example_group.nested_descriptions
        end
Register or log in to add new notes.