method
examples_to_run
examples_to_run(run_options)
private
Hide source
# File lib/spec/example/example_group_methods.rb, line 303 def examples_to_run(run_options) all_examples = examples(run_options) return all_examples unless specified_examples?(run_options) all_examples.reject do |example| matcher = ExampleGroupMethods.matcher_class. new(description.to_s, example.description) !matcher.matches?(run_options.examples) end end