2
0

Use tag filter for pending tag count on admin dashboard (#36404)

This commit is contained in:
Matt Jankowski
2025-10-09 04:08:29 -04:00
committed by Claire
parent 670316499f
commit d9113976c8
2 changed files with 9 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ RSpec.describe 'Admin Dashboard' do
before do
stub_system_checks
Fabricate :software_update
Fabricate :tag, requested_review_at: 5.minutes.ago
sign_in(user)
end
@@ -18,6 +19,7 @@ RSpec.describe 'Admin Dashboard' do
expect(page)
.to have_title(I18n.t('admin.dashboard.title'))
.and have_content(I18n.t('admin.system_checks.software_version_patch_check.message_html'))
.and have_content('0 pending hashtags')
end
private