1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix failing railties tests

Railties tests didn't know about the new config option added in 80b416f so
it needed to be added to the railties generators for configs.
This commit is contained in:
eileencodes 2016-06-22 13:40:30 -04:00
parent 80b416f5e6
commit 41488adbb8
3 changed files with 9 additions and 0 deletions

View file

@ -57,4 +57,7 @@ Rails.application.configure do
# Use an evented file watcher to asynchronously detect changes in source code, # Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem. # routes, locales, etc. This feature depends on the listen gem.
<%= '# ' unless depend_on_listen? %>config.file_watcher = ActiveSupport::EventedFileUpdateChecker <%= '# ' unless depend_on_listen? %>config.file_watcher = ActiveSupport::EventedFileUpdateChecker
# Enable the autoload loading behavior even if the application is eager loaded
config.enable_dependency_loading = false
end end

View file

@ -91,4 +91,7 @@ Rails.application.configure do
# Do not dump schema after migrations. # Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false config.active_record.dump_schema_after_migration = false
<%- end -%> <%- end -%>
# Enable the autoload loading behavior even if the application is eager loaded
config.enable_dependency_loading = false
end end

View file

@ -41,4 +41,7 @@ Rails.application.configure do
# Raises error for missing translations # Raises error for missing translations
# config.action_view.raise_on_missing_translations = true # config.action_view.raise_on_missing_translations = true
# Enable the autoload loading behavior even if the application is eager loaded
config.enable_dependency_loading = false
end end