From 06f24495bb126590c90dcb8971d38496028c9995 Mon Sep 17 00:00:00 2001 From: kumojima Date: Wed, 27 Nov 2024 22:23:51 +0900 Subject: use destroy_all to delete custom_fields --- test/unit/issue_nested_set_concurrency_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/issue_nested_set_concurrency_test.rb b/test/unit/issue_nested_set_concurrency_test.rb index 87443c548..561252a3d 100644 --- a/test/unit/issue_nested_set_concurrency_test.rb +++ b/test/unit/issue_nested_set_concurrency_test.rb @@ -36,7 +36,7 @@ class IssueNestedSetConcurrencyTest < ActiveSupport::TestCase ActiveRecord::Base.establish_connection connection end User.current = nil - CustomField.delete_all + CustomField.destroy_all end def teardown -- 2.34.1