module RSpec::Preconditions

Constants

VERSION

Public Instance Methods

mark_remaining_examples_pending(current_example) click to toggle source
# File lib/rspec/preconditions.rb, line 21
def mark_remaining_examples_pending(current_example)
  self.class.descendant_filtered_examples.each do |example|
    next if example == current_example
    already_ran = !example.execution_result.status.nil?
    next if already_ran
    RSpec::Core::Pending.mark_pending!(example, true)
  end
end