Reduce hard coding of LOCAL_DOMAIN env value throughout tests (#35025)
This commit is contained in:
@@ -31,7 +31,7 @@ RSpec.describe 'email confirmation flow when captcha is enabled' do
|
||||
|
||||
# It presents a page with a link to the app callback
|
||||
expect(page)
|
||||
.to have_content(I18n.t('auth.confirmations.registration_complete', domain: 'cb6e6126.ngrok.io'))
|
||||
.to have_content(I18n.t('auth.confirmations.registration_complete', domain: Rails.configuration.x.local_domain))
|
||||
.and have_link(I18n.t('auth.confirmations.clicking_this_link'), href: client_app.confirmation_redirect_uri)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user