Flowdock
method

consider_example_groups_for_best_match

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

Method deprecated or moved

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

consider_example_groups_for_best_match(example_group, file, line_number) protected

No documentation

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

Hide source
# File lib/spec/runner/spec_parser.rb, line 34
      def consider_example_groups_for_best_match(example_group, file, line_number)
        parsed_backtrace = parse_backtrace(example_group.registration_backtrace)
        parsed_backtrace.each do |example_file, example_line|
          if is_best_match?(file, line_number, example_file, example_line)
            best_match.clear
            best_match[:example_group] = example_group
            best_match[:line] = example_line
          end
        end
      end
Register or log in to add new notes.