Flowdock
method

example_group_started

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Runner::Formatter::NestedTextFormatter
example_group_started(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 15
        def example_group_started(example_group)
          super

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

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