spec/grape/validations/validators/except_values_spec.rb in grape-1.4.0 vs spec/grape/validations/validators/except_values_spec.rb in grape-1.5.0

- old
+ new

@@ -6,9 +6,10 @@ module ValidationsSpec class ExceptValuesModel DEFAULT_EXCEPTS = ['invalid-type1', 'invalid-type2', 'invalid-type3'].freeze class << self attr_accessor :excepts + def excepts @excepts ||= [] [DEFAULT_EXCEPTS + @excepts].flatten.uniq end end