From 6a8ee475fdb577e278adcba2ca42d4ab17ba0bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 29 Jun 2011 06:51:04 -0300 Subject: [PATCH] This was fixed in mongoid, closes #770. --- test/models/token_authenticatable_test.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/models/token_authenticatable_test.rb b/test/models/token_authenticatable_test.rb index 0a1610a6..4ef99d20 100644 --- a/test/models/token_authenticatable_test.rb +++ b/test/models/token_authenticatable_test.rb @@ -27,12 +27,6 @@ class TokenAuthenticatableTest < ActiveSupport::TestCase end 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.ensure_authentication_token! user.confirm!