method
example_group_started
1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Runner::Formatter::NestedTextFormatter
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
example_group_started(example_group)
public
Hide source
# File lib/spec/runner/formatter/nested_text_formatter.rb, line 12 def example_group_started(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