fix broken spec

This commit is contained in:
Sam Saffron 2025-06-12 13:14:35 +10:00
parent 0b4ec026f8
commit ad4901a226
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ RSpec.describe "Managing LLM configurations", type: :system, js: true do
form.field("enabled_chat_bot").toggle
form.submit
expect(page).to have_current_path("/admin/plugins/discourse-ai/ai-llms")
expect(page).to have_current_path(%r{/admin/plugins/discourse-ai/ai-llms/\d+/edit})
llm = LlmModel.order(:id).last