diff --git a/spec/system/llms/ai_llm_spec.rb b/spec/system/llms/ai_llm_spec.rb index 350ca7d40..76ee8cae5 100644 --- a/spec/system/llms/ai_llm_spec.rb +++ b/spec/system/llms/ai_llm_spec.rb @@ -87,12 +87,11 @@ it "seeded LLM has a description" do visit "/admin/plugins/discourse-ai/ai-llms" - description = - I18n.t("js.discourse_ai.llms.preseeded_model_description", model: llm_model.name) + desc = I18n.t("js.discourse_ai.llms.preseeded_model_description", model: llm_model.name) expect(page).to have_css( "[data-llm-id='#{llm_model.name}'] .ai-llm-list__description", - text: description, + text: desc, ) end