summaryrefslogtreecommitdiff
path: root/users/test/unit/email_test.rb
AgeCommit message (Collapse)Author
2014-04-08moving users: app and test filesAzul
2013-07-24validations of email format and local domain moved overAzul
2013-01-17unit tests passingAzul
2013-01-14got users controller test to pass - tickets controller test next.Azul
2012-12-20fixed tests, testing corner cases, fixed theseAzul
2012-12-18only destroy user that has been persisted in teardownAzul
2012-12-18refactored email_alias creation and validationAzul
using CouchRests user.email_aliases.build so the casted_by method is set in the alias Used this to move the validations into the alias itself. This is where they belong and allows us to render the errors inline along the email field they belong to.
2012-12-13refactor: changed add_email to add_email_aliasAzul
that's what it does. Changed all tests to use it instead of the attributes method
2012-12-13LocalEmail added - will validate uniqueness amongst emails and aliasesAzul
2012-12-10created generic Email class and use it with EmailAliasesAzul