1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Removed webpacker:compile step from scaffold test as it is not required and assets are already precompiled in build_app step

This commit is contained in:
Abhay Nikam 2019-07-26 20:20:07 +05:30
parent 41bc4c6207
commit 8fdf6d934e

View file

@ -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")