diff options
author | Azul <azul@leap.se> | 2012-12-20 17:38:36 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-20 17:38:36 +0100 |
commit | c83ada50de6b9a7084a23037068ba7f12e09dfc9 (patch) | |
tree | 75c0eef72cb7a2c4e0cfb8350a79631e5c5a8595 /users/test/unit/user_test.rb | |
parent | c4f87b3447ab2a96dc9181d0b89be4f6f025042a (diff) |
fixed tests, testing corner cases, fixed these
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 |