Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 849acd0

Browse files
committed
feature tests
1 parent b73fec4 commit 849acd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/requests/admin/ai_features_controller_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
get "/admin/plugins/discourse-ai/ai-features.json"
2020

2121
expect(response.status).to eq(200)
22-
expect(response.parsed_body["ai_features"].count).to eq(4)
22+
expect(response.parsed_body["ai_features"].count).to eq(5)
2323
end
2424
end
2525

spec/system/admin_ai_features_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
).to eq(I18n.t("discourse_ai.features.summarization.name"))
3030

3131
expect(ai_features_page).to have_configured_feature_items(1)
32-
expect(ai_features_page).to have_unconfigured_feature_items(3)
32+
expect(ai_features_page).to have_unconfigured_feature_items(4)
3333
end
3434

3535
it "lists the persona used for the corresponding AI feature" do

0 commit comments

Comments
 (0)