diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-06-16 14:47:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 14:47:39 -0400 |
commit | b55cf266f9ccadf49276de230a8b0c2076f05202 (patch) | |
tree | bbcb0559acbe048a5405c5eedb3e6c2e8da0a6e1 | |
parent | 9cf7217909c30e5513f668e5c8aa105b04ba35fd (diff) | |
parent | f36115207b18fba3a44bdff5b345cdc28ed2d33e (diff) | |
download | rails-b55cf266f9ccadf49276de230a8b0c2076f05202.tar.gz rails-b55cf266f9ccadf49276de230a8b0c2076f05202.tar.bz2 rails-b55cf266f9ccadf49276de230a8b0c2076f05202.zip |
Merge pull request #29482 from Edouard-chin/test-load-path
Add the `<app_root>/test` dir to the `$LOAD_PATH` as a string:
-rw-r--r-- | railties/lib/rails/commands/test/test_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/test/test_command.rb b/railties/lib/rails/commands/test/test_command.rb index 65e16900ba..dce85cf12d 100644 --- a/railties/lib/rails/commands/test/test_command.rb +++ b/railties/lib/rails/commands/test/test_command.rb @@ -11,7 +11,7 @@ module Rails end def perform(*) - $LOAD_PATH << Rails::Command.root.join("test") + $LOAD_PATH << Rails::Command.root.join("test").to_s Minitest.run_via = :rails |