Defining `@model` here (and in the rest of the file) is actually the same as using the `validating_length` method that's already available, so I think you can safely remove these definitions. After doing that, you could do:

    validating_length(:maximum => 4).should ensure_length_of(:attr).is_at_most(4)

And the like for the remainder of the file.