mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Missed file from the previous commit 92b229e125
This commit is contained in:
15
actionpack/lib/action_controller/testing/performance_test.rb
Normal file
15
actionpack/lib/action_controller/testing/performance_test.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
require 'active_support/testing/performance'
|
||||
require 'active_support/testing/default'
|
||||
|
||||
module ActionController
|
||||
# An integration test that runs a code profiler on your test methods.
|
||||
# Profiling output for combinations of each test method, measurement, and
|
||||
# output format are written to your tmp/performance directory.
|
||||
#
|
||||
# By default, process_time is measured and both flat and graph_html output
|
||||
# formats are written, so you'll have two output files per test method.
|
||||
class PerformanceTest < ActionController::IntegrationTest
|
||||
include ActiveSupport::Testing::Performance
|
||||
include ActiveSupport::Testing::Default
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user