Remove legacy test emails

Removes `whitelist_emails_for_staging` setting.

Closes #201
This commit is contained in:
Artur Beljajev 2019-04-07 15:18:27 +03:00
parent aad39fd2b7
commit 1c2407a6e9
6 changed files with 0 additions and 39 deletions

View file

@ -1,14 +0,0 @@
TEST_EMAILS =
if Rails.env.test?
%w(
test@example.com
test@example.org
old@example.org
new@example.org
old@example.com
new@example.com
)
else
ENV['whitelist_emails_for_staging'] ||= ''
ENV['whitelist_emails_for_staging'].to_s.split(',').map(&:strip)
end