diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-10-21 11:27:26 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-10-21 13:10:26 -0700 |
commit | 797f1dd63c68eb44c1af358d377cfef271e685c5 (patch) | |
tree | 32aa16b9fc05ee202afca56f002c884b770737fd /activesupport | |
parent | 54a5b99a007dd773aa25183fa29e7c87a86a29da (diff) | |
download | rails-797f1dd63c68eb44c1af358d377cfef271e685c5.tar.gz rails-797f1dd63c68eb44c1af358d377cfef271e685c5.tar.bz2 rails-797f1dd63c68eb44c1af358d377cfef271e685c5.zip |
Prevent the test framework from being loaded in production mode
The test framework should not be autoloaded in production mode. Before
this commit, the testing railtie would extend AS::TestCase. This caused
AS::TestCase to be preloaded regardless of the environment in which we
were running.
This commit just moves the code that adds line filtering support in to
the test command where we actually execute the test runner. That allows
us to maintain the line runner feature but only load the minimal amount
of code we need.
Diffstat (limited to 'activesupport')
0 files changed, 0 insertions, 0 deletions