spec/grape/validations/validators/values_spec.rb in grape-0.16.2 vs spec/grape/validations/validators/values_spec.rb in grape-0.17.0

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' describe Grape::Validations::ValuesValidator do module ValidationsSpec class ValuesModel - DEFAULT_VALUES = ['valid-type1', 'valid-type2', 'valid-type3'] + DEFAULT_VALUES = ['valid-type1', 'valid-type2', 'valid-type3'].freeze class << self def values @values ||= [] [DEFAULT_VALUES + @values].flatten.uniq end