diff options
author | Azul <azul@leap.se> | 2013-08-30 10:14:22 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-09-03 08:54:25 +0200 |
commit | e2a3daa9ae3f3570aca0dc22b70d87252e599d7a (patch) | |
tree | 05c25e47765d838c78d895bf3e1b94645f5a6a1a /users/test/unit/user_test.rb | |
parent | c17edbc069c6dcfc3dd20d8cdfb5922032769a5f (diff) |
don't leave id records behind when unit testing
Diffstat (limited to 'users/test/unit/user_test.rb')
-rw-r--r-- | users/test/unit/user_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/unit/user_test.rb b/users/test/unit/user_test.rb index 8efb0bd..c797623 100644 --- a/users/test/unit/user_test.rb +++ b/users/test/unit/user_test.rb @@ -50,8 +50,8 @@ class UserTest < ActiveSupport::TestCase other_user = FactoryGirl.create :user id = Identity.create_for other_user, address: @user.login assert !@user.valid? - other_user.destroy id.destroy + other_user.destroy end test "deprecated public key api still works" do |