YaleSTC/reservations — pull request #422 by austinczarnecki (2013-07-15 06:35:52+00:00)
Title: Extracted private methods from import users controller to a lib module a...

...nd added comments. Changed user model to only skip phone validation when importing from csv.

This should be fairly self-explanatory. The validations work, and the controller is now small enough to write tests for. A good next step might be to extract the validations and associated messages from the import users controller to a custom validation class. That said, it's unlikely we'll need to write any more and there are only four so we could just leave it for now.