From 9195cdb7cd3e630d7c8d155b85d6434a0745d08b Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Tue, 9 Oct 2018 09:30:45 +0900 Subject: Use `--skip-webpack-install` by default To remove extra `--no-skip-javascript` tests. --- railties/lib/rails/generators/testing/behaviour.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib') 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 -- cgit v1.2.3