Enable Style/WordArray

This commit is contained in:
gregoirenovel 2018-10-01 13:55:12 +02:00
parent d1439f8a52
commit 6eeba14885
19 changed files with 23 additions and 22 deletions

View file

@ -1,6 +1,6 @@
class PurgeDraftDossier < ActiveRecord::Migration
class Dossier < ApplicationRecord
BROUILLON = %w(draft)
BROUILLON = ['draft']
def brouillon?
BROUILLON.include?(state)