Froze rails gems
[depot.git] / vendor / rails / actionpack / lib / action_controller / performance_test.rb
diff --git a/vendor/rails/actionpack/lib/action_controller/performance_test.rb b/vendor/rails/actionpack/lib/action_controller/performance_test.rb
new file mode 100644 (file)
index 0000000..85543ff
--- /dev/null
@@ -0,0 +1,16 @@
+require 'action_controller/integration'
+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