Module: RSpec::Rewind::ExampleMethods

Defined in:
lib/rspec/rewind/example_methods.rb

Instance Method Summary collapse

Instance Method Details

#run_with_rewind(options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/rspec/rewind/example_methods.rb', line 6

def run_with_rewind(options = {})
  normalized = normalize_options(options)

  Runner.new(example: self, configuration: RSpec::Rewind.configuration).run(**normalized)
end