Fix test suite

This commit is contained in:
Christoph Haas 2021-03-02 00:51:24 +01:00
parent 2b24083653
commit 47df4d8afd
5 changed files with 44 additions and 37 deletions

View file

@ -61,3 +61,7 @@ Rails.application.configure do
# Needed (at least) for devise.rb to determine the oauth2 callback URL
config.base_url = ENV['DEBSHOTS_BASE_URL'] || 'http://localhost:3000'
end
# Set base URL to be used in links in mails
# https://github.com/rails/rails/issues/29992
Rails.application.default_url_options = { host: 'localhost', port: 3000 }