module Shoulda::Matchers::ActiveModel
def allow_value(*values)
-
(AllowValueMatcher)
-
def allow_value(*values) if values.empty? raise ArgumentError, 'need at least one argument' else AllowValueMatcher.new(*values) end end
(AllowValueMatcher)
-
def allow_value(*values) if values.empty? raise ArgumentError, 'need at least one argument' else AllowValueMatcher.new(*values) end end