class Shoulda::ActiveRecord::Matchers::EnsureLengthOfMatcher

def matches?(subject)

def matches?(subject)
  super(subject)
  translate_messages!
  disallows_lower_length &&
    allows_minimum_length &&
    ((@minimum == @maximum) ||
      (disallows_higher_length &&
      allows_maximum_length))
end