diff options
author | Andrew Kress <andrew.kress@gmail.com> | 2019-07-25 16:10:59 -0500 |
---|---|---|
committer | Rafael França <rafael@franca.dev> | 2019-07-25 17:10:59 -0400 |
commit | 7f21e04e618513aff1674ed767294a94a903dd51 (patch) | |
tree | 27312a00d0fd9d4e5e84d9ae2a3dbf894f5ca130 /railties/test | |
parent | bd5edc29709116104345cf09c17f1db89428753e (diff) | |
download | rails-7f21e04e618513aff1674ed767294a94a903dd51.tar.gz rails-7f21e04e618513aff1674ed767294a94a903dd51.tar.bz2 rails-7f21e04e618513aff1674ed767294a94a903dd51.zip |
read configuration to determine excluded eager loaded directory (#36354)
* read config/webpacker.yml to determine which path to exclude for zeitwerk:check
* fix test errors
* more changes to fix test errors
* refactor webpacker_path
[Andrew Kress + Rafael Mendonça França]
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 96678c395c..38dda20bec 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -1708,7 +1708,7 @@ module ApplicationTests app "development" ActiveSupport::Dependencies.autoload_paths.each do |path| assert_not_operator path, :ends_with?, "app/assets" - assert_not_operator path, :ends_with?, "app/javascript" + assert_not_operator path, :ends_with?, "app/#{Rails.configuration.webpacker_path}" end end |