fix broken spec
This commit is contained in:
parent
0b4ec026f8
commit
ad4901a226
|
@ -19,7 +19,7 @@ RSpec.describe "Managing LLM configurations", type: :system, js: true do
|
||||||
form.field("enabled_chat_bot").toggle
|
form.field("enabled_chat_bot").toggle
|
||||||
form.submit
|
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
|
llm = LlmModel.order(:id).last
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue