diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-10-20 14:16:29 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-10-20 14:41:51 +0900 |
commit | 931120d37d8f204f0e8c2aabbe4caa68347ee7b9 (patch) | |
tree | 89d4d64f051552dc5af6c699b72bda303ce3939e /actioncable/test/connection/base_test.rb | |
parent | e3111c129a557bee8691c34acc209d0727418957 (diff) | |
download | rails-931120d37d8f204f0e8c2aabbe4caa68347ee7b9.tar.gz rails-931120d37d8f204f0e8c2aabbe4caa68347ee7b9.tar.bz2 rails-931120d37d8f204f0e8c2aabbe4caa68347ee7b9.zip |
Avoid running `webpacker:install` on tests that don't need it
If use `run_generator` to run the generator, `--skip-webpack-install`
is specified automatically.
https://github.com/rails/rails/blob/3101a4136bd62787e252d2658eee23001036fa0f/railties/lib/rails/generators/testing/behaviour.rb#L71
However, when executing the generator independently (for example, to use
stub), `webpacker:install` was executed.
Since this includes `yarn install`, it should be avoided in unnecessary
testing.
Diffstat (limited to 'actioncable/test/connection/base_test.rb')
0 files changed, 0 insertions, 0 deletions