flatiron/revalidator — pull request #44 by Leonidaz (2013-04-16 22:11:02+00:00)
Title: fix enum validation when attribute is of type 'array'

fix enum validation when attribute is of type 'array'
before the fix indexOf was used to compare the whole value of the field but since the value is an array ['item1', 'item2'], it would end up looking for the whole piece ['item1', 'item2'] instead of examing each item in the value array.