Allow more flexible host/port treatment with LOCAL_DOMAIN values in tests (#35040)

This commit is contained in:
Matt Jankowski 2025-06-16 09:12:23 -04:00 committed by GitHub
commit ca3cc36549
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 32 additions and 12 deletions

View file

@ -31,6 +31,6 @@ RSpec.describe 'redirection confirmations' do
end
def redirect_title
I18n.t('redirects.title', instance: Rails.configuration.x.local_domain)
I18n.t('redirects.title', instance: local_domain_uri.host)
end
end