aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers/performance_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/helpers/performance_test.rb')
-rw-r--r--railties/helpers/performance_test.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/railties/helpers/performance_test.rb b/railties/helpers/performance_test.rb
index d39f639305..7c89816570 100644
--- a/railties/helpers/performance_test.rb
+++ b/railties/helpers/performance_test.rb
@@ -1,7 +1,4 @@
-ENV['RAILS_ENV'] ||= 'test'
-require "#{File.dirname(__FILE__)}/../../config/environment"
-require 'test/unit'
-require 'action_controller/performance_test'
+require 'performance/test_helper'
# Profiling results for each test method are written to tmp/performance.
class BrowsingTest < ActionController::PerformanceTest