We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a51be98 + 572458d commit ca5ce92Copy full SHA for ca5ce92
spec/test_app_templates/lib/generators/test_app_generator.rb
@@ -56,7 +56,7 @@ def add_theme_assets
56
copy_file 'fixture.png', 'app/assets/images/spotlight/themes/modern_preview.png'
57
58
copy_file 'fixture.css', 'app/assets/stylesheets/application_modern.css'
59
- 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 )"
60
61
append_to_file 'config/initializers/spotlight_initializer.rb', "\nSpotlight::Engine.config.exhibit_themes = %w[default modern]"
62
end
0 commit comments