DEV: We don't need this spec

Test coverage is present in the spam detection validator
This commit is contained in:
Keegan George 2025-06-06 10:35:55 -07:00
parent 3b96303da3
commit c4a731e999
No known key found for this signature in database
GPG Key ID: 91B40E38537AC000
1 changed files with 0 additions and 5 deletions

View File

@ -62,10 +62,5 @@ RSpec.describe DiscourseAi::Configuration::LlmEnumerator do
{ fake_model.id => [{ type: :automation, name: "some automation", id: automation.id }] }, { fake_model.id => [{ type: :automation, name: "some automation", id: automation.id }] },
) )
end 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
end end