diff options
author | azul <azul@riseup.net> | 2012-12-22 04:37:42 -0800 |
---|---|---|
committer | azul <azul@riseup.net> | 2012-12-22 04:37:42 -0800 |
commit | 9a23a5d63b2b5bcb1994137a5de9f8ebd88142f1 (patch) | |
tree | e65b4c4f75e2e8313c67b77aacbd210efbfddd71 /users/test/unit/user_test.rb | |
parent | 6e90c173662583ca392ca1cefa7e7dcdc92dbf13 (diff) | |
parent | c83ada50de6b9a7084a23037068ba7f12e09dfc9 (diff) |
Merge pull request #7 from leapcode/feature/validate-email-domain
validating email domain and displaying it as the placeholder
Diffstat (limited to 'users/test/unit/user_test.rb')
-rw-r--r-- | users/test/unit/user_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/users/test/unit/user_test.rb b/users/test/unit/user_test.rb index 5d2a7ea..0c79f1f 100644 --- a/users/test/unit/user_test.rb +++ b/users/test/unit/user_test.rb @@ -56,15 +56,6 @@ class UserTest < ActiveSupport::TestCase admin_user = User.new(attribs) assert admin_user.is_admin? assert !@user.is_admin? - end - test "find user by email" do - email = "tryto@find.me" - @user.email = email - @user.save - assert_equal @user, User.find_by_email(email) - assert_equal @user, User.find_by_email_or_alias(email) - assert_nil User.find_by_email_alias(email) - end end |