diff options
author | Azul <azul@leap.se> | 2014-05-15 11:04:56 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-19 14:24:47 +0200 |
commit | 5dd6c1529f8f4fc5089c71b0a44e360acaea900d (patch) | |
tree | d5e6ecf304ff6d862be05b64e4ee6ac42693c25e /test/unit/email_test.rb | |
parent | 1241cb8f13e6d0752b67521e8385b62d7fbcc882 (diff) |
fix Email so User.new.valid? does not crash
Email.new(nil) now returns an invalid email rather than crashing.
Diffstat (limited to 'test/unit/email_test.rb')
0 files changed, 0 insertions, 0 deletions