2017-10-16 18:15:47 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
TESTER_EMAILS = %w[
|
|
|
|
connorturland@gmail.com devin@callysto.com chessscholar@gmail.com solaureum@gmail.com
|
|
|
|
ishanshapiro@gmail.com
|
|
|
|
].freeze
|
|
|
|
|
|
|
|
# rubocop:disable Style/PredicateName
|
2017-03-09 14:36:24 -05:00
|
|
|
def is_tester(user)
|
2017-10-16 18:15:47 -07:00
|
|
|
user && TESTER_EMAILS.include?(user.email)
|
2017-03-09 14:36:24 -05:00
|
|
|
end
|
2017-10-16 18:15:47 -07:00
|
|
|
# rubocop:enable Style/PredicateName
|