mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Use tag filter for pending tag count on admin dashboard (#36404)
This commit is contained in:
parent
5bc7c4b7e8
commit
0152659245
2 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue