Class: RSpec::Core::Example::Procsy

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec_ext/rspec_ext.rb

Instance Method Summary collapse

Instance Method Details

#attemptsObject



15
16
17
# File 'lib/rspec_ext/rspec_ext.rb', line 15

def attempts
  @example.attempts
end

#run_with_retry(opts = {}) ⇒ Object



11
12
13
# File 'lib/rspec_ext/rspec_ext.rb', line 11

def run_with_retry(opts = {})
  RSpec::Retry.new(self, opts).run
end