Skip to content

Commit d58f85b

Browse files
fxnghiculescu
andauthored
Update railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
Co-authored-by: Alex Ghiculescu <[email protected]>
1 parent db0ee28 commit d58f85b

File tree

1 file changed

+3
-3
lines changed
  • railties/lib/rails/generators/rails/app/templates/config/environments

1 file changed

+3
-3
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Rails.application.configure do
1111
# Turn false under Spring and add config.action_view.cache_template_loading = true
1212
config.cache_classes = true
1313

14-
# Do not eager load code on boot. This avoids loading your whole application
15-
# just for the purpose of running a single test. If you are using a tool that
16-
# preloads Rails for running tests, you may have to set it to true.
14+
# Eager loading loads your whole application. When running a single test locally,
15+
# this probably isn't necessary. It's a good idea to do in a continuous integration
16+
# system, or in some way before deploying your code.
1717
config.eager_load = ENV["CI"].present?
1818

1919
# Configure public file server for tests with Cache-Control for performance.

0 commit comments

Comments
 (0)