discourse/plugins/discourse-ai/spec/lib/agents/researcher_spec.rb
Sam e3fae646d4
DEV: AI persona to agent migration (#38319)
Co-authored-by: Keegan George <kgeorge13@gmail.com>
2026-03-10 15:59:45 +11:00

13 lines
326 B
Ruby
Vendored

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