From ad4901a22634cd828da4b834a23f87fa653018af Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Thu, 12 Jun 2025 13:14:35 +1000 Subject: [PATCH] fix broken spec --- spec/system/llms/ai_llm_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/llms/ai_llm_spec.rb b/spec/system/llms/ai_llm_spec.rb index a8945dad..e16d567f 100644 --- a/spec/system/llms/ai_llm_spec.rb +++ b/spec/system/llms/ai_llm_spec.rb @@ -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