class Shoulda::ActiveRecord::Matchers::ValidateFormatOfMatcher
def not_with(value)
def not_with(value) raise "You may not call both with and not_with" if @value_to_pass @value_to_fail = value self end
def not_with(value) raise "You may not call both with and not_with" if @value_to_pass @value_to_fail = value self end