From 8abc789e8527ee1681600465c42a7dbfe12cf52a Mon Sep 17 00:00:00 2001 From: Dombi Attila <83396+dombesz@users.noreply.github.com> Date: Tue, 25 Feb 2025 17:28:22 +0200 Subject: [PATCH] Fix spec --- spec/models/custom_actions/actions/custom_field_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/custom_actions/actions/custom_field_spec.rb b/spec/models/custom_actions/actions/custom_field_spec.rb index 644856e59880..d1b4d7ce2f7c 100644 --- a/spec/models/custom_actions/actions/custom_field_spec.rb +++ b/spec/models/custom_actions/actions/custom_field_spec.rb @@ -112,7 +112,7 @@ expect(described_class.all.map(&:custom_field)) .to match_array(custom_fields) - described_class.find_each do |subclass| + described_class.all.each do |subclass| expect(subclass.ancestors).to include(described_class) end end