mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
14 lines
312 B
Ruby
14 lines
312 B
Ruby
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
|