From d6a274eb28fde570e8368b5be2d0536c89390ed2 Mon Sep 17 00:00:00 2001 From: Steve Taylor Date: Mon, 6 Jan 2025 14:25:23 -0800 Subject: [PATCH] Add newline to test app generator --- spec/test_app_templates/lib/generators/test_app_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/test_app_templates/lib/generators/test_app_generator.rb b/spec/test_app_templates/lib/generators/test_app_generator.rb index 10589f5ba..fd9fc5d7b 100644 --- a/spec/test_app_templates/lib/generators/test_app_generator.rb +++ b/spec/test_app_templates/lib/generators/test_app_generator.rb @@ -56,7 +56,7 @@ def add_theme_assets copy_file 'fixture.png', 'app/assets/images/spotlight/themes/modern_preview.png' copy_file 'fixture.css', 'app/assets/stylesheets/application_modern.css' - append_to_file 'config/initializers/assets.rb', 'Rails.application.config.assets.precompile += %w( application_modern.css )' + append_to_file 'config/initializers/assets.rb', "\nRails.application.config.assets.precompile += %w( application_modern.css )" append_to_file 'config/initializers/spotlight_initializer.rb', "\nSpotlight::Engine.config.exhibit_themes = %w[default modern]" end