discourse-ai/spec/lib/personas/researcher_spec.rb
Jarek Radosz f231aad8b5
DEV: Disable the plugin by default (#1511)
…and preserve the current setting on existing sites
2025-07-22 11:05:52 +01:00

14 lines
316 B
Ruby

# frozen_string_literal: true
RSpec.describe DiscourseAi::Personas::Researcher do
let(:researcher) { subject }
before { enable_current_plugin }
it "renders schema" do
expect(researcher.tools).to eq(
[DiscourseAi::Personas::Tools::Google, DiscourseAi::Personas::Tools::WebBrowser],
)
end
end