From c4a731e99953847ceaf42ca29e8f9effcba0083b Mon Sep 17 00:00:00 2001 From: Keegan George Date: Fri, 6 Jun 2025 10:35:55 -0700 Subject: [PATCH] DEV: We don't need this spec Test coverage is present in the spam detection validator --- spec/configuration/llm_enumerator_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/configuration/llm_enumerator_spec.rb b/spec/configuration/llm_enumerator_spec.rb index e7651b10..7737da45 100644 --- a/spec/configuration/llm_enumerator_spec.rb +++ b/spec/configuration/llm_enumerator_spec.rb @@ -62,10 +62,5 @@ RSpec.describe DiscourseAi::Configuration::LlmEnumerator do { fake_model.id => [{ type: :automation, name: "some automation", id: automation.id }] }, ) end - - it "doesn't error on spam when spam detection is enabled but moderation setting is missing" do - SiteSetting.ai_spam_detection_enabled = true - expect { described_class.global_usage }.not_to raise_error - end end end