From 82be21fe02659bfac10c9774b4d02f20593a25a6 Mon Sep 17 00:00:00 2001
From: ArtOfCode- <hello@artofcode.co.uk>
Date: Mon, 18 May 2020 01:16:39 +0100
Subject: [PATCH] Add default host to test env

---
 config/environments/test.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config/environments/test.rb b/config/environments/test.rb
index a1c6a38ce..e266a2b00 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -41,4 +41,6 @@ Rails.application.configure do
   # config.action_view.raise_on_missing_translations = true
 
   config.active_storage.service = :test
+
+  config.action_mailer.default_url_options = { host: 'test.host' }
 end
-- 
GitLab