Class: ExampleAppProductionSslTest
- Inherits:
-
ExampleAppIntegrationTestCase
- Object
- ActionDispatch::IntegrationTest
- ExampleAppIntegrationTestCase
- ExampleAppProductionSslTest
- Defined in:
- lib/installer_templates/example_app_tests/test/integration/example_app_production_ssl_test.rb
Overview
The installer enables assume_ssl/force_ssl in the generated production config (8.1.36): generated apps deploy behind an SSL-terminating proxy and the Devise mailer config assumes https. Guards Brakeman's ForceSSL check (the full-gate CI scans this app) against a silent regression, e.g. the Rails template shifting its comment format so the installer's gsub misses.