Flowdock
method

consider_example_group_for_best_match

Importance_0
consider_example_group_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/line_number_query.rb, line 47
      def consider_example_group_for_best_match(example_group, file, line_number)
        example_group_file, example_group_line = parse_location(example_group.location)
        if is_best_match?(file, line_number, example_group_file, example_group_line)
          best_match.clear
          best_match[:example_group] = example_group
          best_match[:line] = example_group_line
        end
      end
Register or log in to add new notes.