1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

This was fixed in mongoid, closes #770.

This commit is contained in:
José Valim 2011-06-29 06:51:04 -03:00
parent 767a7a7c21
commit 6a8ee475fd

View file

@ -27,12 +27,6 @@ class TokenAuthenticatableTest < ActiveSupport::TestCase
end end
test 'should return nil when authenticating an invalid user by authentication token' do test 'should return nil when authenticating an invalid user by authentication token' do
if DEVISE_ORM == :mongoid
raise 'There is an incompatibility between Devise and Mongoid' <<
' that makes this test break. For more information, check' <<
' this issue: https://github.com/mongoid/mongoid/issues/725'
end
user = create_user user = create_user
user.ensure_authentication_token! user.ensure_authentication_token!
user.confirm! user.confirm!