From e2a3daa9ae3f3570aca0dc22b70d87252e599d7a Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 30 Aug 2013 10:14:22 +0200 Subject: don't leave id records behind when unit testing --- users/test/unit/user_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/test/unit/user_test.rb') 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 -- cgit v1.2.3