aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/all.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2016-11-07 15:46:56 -0500
committereileencodes <eileencodes@gmail.com>2017-02-20 15:07:33 -0500
commit1db7a5c285eeb61acc998c0c27788a61bd948d5c (patch)
treec41e81e4c078bbe596f37ecdfc028fabd462e803 /railties/lib/rails/all.rb
parent5bf0aa6745db27c45c0778f9f6e9046f9ee9fb94 (diff)
downloadrails-1db7a5c285eeb61acc998c0c27788a61bd948d5c.tar.gz
rails-1db7a5c285eeb61acc998c0c27788a61bd948d5c.tar.bz2
rails-1db7a5c285eeb61acc998c0c27788a61bd948d5c.zip
Don't load ActionSystemTest in production
By moving to the TestUnit Railtie, and doing the file requirement inside the onload call we can avoid loading ActionSystemTest in production and load it in the test env. This is important for performance reasons - loading up unnecessary files and object is expensive, especially when they should never be used in production.
Diffstat (limited to 'railties/lib/rails/all.rb')
-rw-r--r--railties/lib/rails/all.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/rails/all.rb b/railties/lib/rails/all.rb
index 2cc33ceb5e..7606ea0e46 100644
--- a/railties/lib/rails/all.rb
+++ b/railties/lib/rails/all.rb
@@ -9,7 +9,6 @@ require "rails"
action_cable/engine
rails/test_unit/railtie
sprockets/railtie
- action_system_test/railtie
).each do |railtie|
begin
require railtie