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:
parent
767a7a7c21
commit
6a8ee475fd
1 changed files with 0 additions and 6 deletions
|
@ -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!
|
||||||
|
|
Loading…
Reference in a new issue