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
1 changed files with 0 additions and 6 deletions

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!