Allow more flexible host/port treatment with LOCAL_DOMAIN values in tests (#35040)
This commit is contained in:
parent
b2506478ba
commit
ca3cc36549
9 changed files with 32 additions and 12 deletions
|
|
@ -101,7 +101,7 @@ RSpec.describe HomeHelper do
|
|||
allow(helper).to receive(:closed_registrations?).and_return(true)
|
||||
result = helper.sign_up_message
|
||||
|
||||
expect(result).to eq t('auth.registration_closed', instance: Rails.configuration.x.local_domain)
|
||||
expect(result).to eq t('auth.registration_closed', instance: local_domain_uri.host)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue