From 8fdf6d934e9a2b4bc3d2bcf76476bf0763cea304 Mon Sep 17 00:00:00 2001 From: Abhay Nikam Date: Fri, 26 Jul 2019 20:20:07 +0530 Subject: [PATCH] Removed webpacker:compile step from scaffold test as it is not required and assets are already precompiled in build_app step --- railties/test/application/rake_test.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index fe56e3d076..e8456e8c19 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -162,7 +162,6 @@ module ApplicationTests rails "generate", "scaffold", "user", "username:string", "password:string" with_rails_env("test") do rails("db:migrate") - rails("webpacker:compile") end output = rails("test") @@ -194,7 +193,6 @@ module ApplicationTests rails "generate", "scaffold", "LineItems", "product:references", "cart:belongs_to" with_rails_env("test") do rails("db:migrate") - rails("webpacker:compile") end output = rails("test")