Created
August 27, 2024 13:48
-
-
Save cjavdev/bef7b08b7c9ad9f58c94d0e60f4069d2 to your computer and use it in GitHub Desktop.
Rails 7.2 ApplicationSystemTestCase missing host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/environments/test.rb | |
# ... | |
# Already had this: | |
config.action_mailer.default_url_options = { host: "www.example.com" } | |
# Had to add this: | |
Rails.application.routes.default_url_options = { host: "www.example.com" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment