summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-11-07 12:46:28 +0100
committerAzul <azul@leap.se>2013-11-07 12:46:28 +0100
commita0e72e6ee7786e3b1fd7276f1c64912c606f4559 (patch)
tree289f59e813874370731d9e2c9cae233cc113787e /users
parentded302ebc6a9e145775f7847c5e89f91d683c777 (diff)
only check number of disabled identities to make test more robust
Diffstat (limited to 'users')
-rw-r--r--users/test/unit/identity_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/unit/identity_test.rb b/users/test/unit/identity_test.rb
index 78ef52c..eca104f 100644
--- a/users/test/unit/identity_test.rb
+++ b/users/test/unit/identity_test.rb
@@ -116,7 +116,7 @@ class IdentityTest < ActiveSupport::TestCase
id.save
assert Identity.count > 0
Identity.destroy_all_disabled
- assert_equal 0, Identity.count
+ assert_equal 0, Identity.disabled.count
end
def alias_name