From ac64908c2bd87f2e663e8e22c3ff48f8c5a1c7f3 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Thu, 22 Jul 2021 10:18:18 +0100 Subject: [PATCH] Tidy up compiling helper --- spec/system/support/precompile_assets.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spec/system/support/precompile_assets.rb b/spec/system/support/precompile_assets.rb index 413969e0b6..519ecb0fca 100644 --- a/spec/system/support/precompile_assets.rb +++ b/spec/system/support/precompile_assets.rb @@ -11,13 +11,11 @@ RSpec.configure do |config| # We can use webpack-dev-server for tests, too! # Useful if you working on a frontend code fixes and want to verify them via system tests. if Webpacker.dev_server.running? - $stdout.puts "\n⚙️ Webpack dev server is running! Skip assets compilation.\n" next else - $stdout.puts "\n🐢 Precompiling assets.\n" + $stdout.puts "\n Precompiling assets.\n" - # The code to run webpacker:compile Rake task - # ... + Webpacker.compile end end end