DEV: We don't need this spec
Test coverage is present in the spam detection validator
This commit is contained in:
parent
3b96303da3
commit
c4a731e999
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue