Add Style/WordArray at rubocop.yml #1463

This commit is contained in:
nasia 2017-06-03 13:48:49 +03:00
parent 5bb52f24a5
commit 6cb11ff2f3
6 changed files with 8 additions and 12 deletions

View file

@ -1,6 +1,6 @@
class EventUser < ActiveRecord::Base
# TODO Do we need these roles?
ROLES = [['Speaker', 'speaker'], ['Submitter', 'submitter'], ['Moderator', 'moderator']]
ROLES = [%w[Speaker speaker], %w[Submitter submitter], %w[Moderator moderator]]
belongs_to :event
belongs_to :user