method
examples_to_run
1.2.0 -
Show latest stable
- Class:
Spec::Example::ExampleGroupMethods
examples_to_run(run_options)private
No documentation available.
# File lib/spec/example/example_group_methods.rb, line 234
def examples_to_run(run_options)
return example_descriptions unless specified_examples?(run_options)
example_descriptions.reject do |example|
matcher = ExampleGroupMethods.matcher_class.
new(description.to_s, example.description)
!matcher.matches?(run_options.examples)
end
end