DEV: Fix spec (#15036)

Broken by 9f8ee8f137
This commit is contained in:
Martin Brennan 2021-11-22 14:59:10 +10:00 committed by GitHub
parent 9f8ee8f137
commit 8a3ab1cc43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ describe Notification do
end
describe 'message bus' do
fab!(:user) { Fabricate(:user) }
fab!(:user) { Fabricate(:user, last_seen_at: 1.day.ago) }
it 'updates the notification count on create' do
Notification.any_instance.expects(:refresh_notification_count).returns(nil)