aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-10-09 09:30:45 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-10-09 09:30:45 +0900
commit9195cdb7cd3e630d7c8d155b85d6434a0745d08b (patch)
tree248e56b5cd21aea3acd523e01ea167896673509f /railties/lib
parent7c846d9c730f2d2b54a4ab81ec73b4905c56d193 (diff)
downloadrails-9195cdb7cd3e630d7c8d155b85d6434a0745d08b.tar.gz
rails-9195cdb7cd3e630d7c8d155b85d6434a0745d08b.tar.bz2
rails-9195cdb7cd3e630d7c8d155b85d6434a0745d08b.zip
Use `--skip-webpack-install` by default
To remove extra `--no-skip-javascript` tests.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/testing/behaviour.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/testing/behaviour.rb b/railties/lib/rails/generators/testing/behaviour.rb
index 238ffdd677..ec29ad12ba 100644
--- a/railties/lib/rails/generators/testing/behaviour.rb
+++ b/railties/lib/rails/generators/testing/behaviour.rb
@@ -68,7 +68,7 @@ module Rails
capture(:stdout) do
args += ["--skip-bundle"] unless args.include? "--dev"
args |= ["--skip-bootsnap"] unless args.include? "--no-skip-bootsnap"
- args |= ["--skip-javascript"] unless args.include? "--no-skip-javascript"
+ args |= ["--skip-webpack-install"] unless args.include? "--no-skip-webpack-install"
generator_class.start(args, config.reverse_merge(destination_root: destination_root))
end