Module: ActiveSupport::Testing::Performance::Minitest4AndLower

Defined in:
lib/rails/perftest/active_support/testing/performance.rb

Instance Method Summary collapse

Instance Method Details

#performance_failure(e) ⇒ Object



45
46
47
# File 'lib/rails/perftest/active_support/testing/performance.rb', line 45

def performance_failure(e)
  @runner.puke(self.class, method_name, e)
end

#run(runner) ⇒ Object



39
40
41
42
43
# File 'lib/rails/perftest/active_support/testing/performance.rb', line 39

def run(runner)
  @runner = runner
  _performance_run
  return
end