diff options
author | Michael Grosser <michael@grosser.it> | 2016-09-16 09:26:10 -0700 |
---|---|---|
committer | Michael Grosser <michael@grosser.it> | 2016-09-16 09:34:34 -0700 |
commit | fe98d21289b7510182e338f352f5a416bd01f1ad (patch) | |
tree | 79c48329ae9641b46e81de09966723cc9e23fa38 /railties/lib/rails/commands | |
parent | f62451a50b2c9119adce7acc53ce3dfffc4d41d5 (diff) | |
download | rails-fe98d21289b7510182e338f352f5a416bd01f1ad.tar.gz rails-fe98d21289b7510182e338f352f5a416bd01f1ad.tar.bz2 rails-fe98d21289b7510182e338f352f5a416bd01f1ad.zip |
improve test coverage
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/test.rb b/railties/lib/rails/commands/test.rb index 219c2fa4e0..cc0cc3d65a 100644 --- a/railties/lib/rails/commands/test.rb +++ b/railties/lib/rails/commands/test.rb @@ -1,9 +1,9 @@ require "rails/test_unit/minitest_plugin" if defined?(ENGINE_ROOT) - $: << File.expand_path("test", ENGINE_ROOT) + $LOAD_PATH << File.expand_path("test", ENGINE_ROOT) else - $: << File.expand_path("../../test", APP_PATH) + $LOAD_PATH << File.expand_path("../../test", APP_PATH) end exit Minitest.run(ARGV) |