mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 03:35:43 +08:00
DEV: Fix spec (#15036)
Broken by 9f8ee8f1372eab643951a49440024ee0fdbdf792
This commit is contained in:
parent
9f8ee8f137
commit
8a3ab1cc43
@ -183,7 +183,7 @@ describe Notification do
|
|||||||
end
|
end
|
||||||
|
|
||||||
describe 'message bus' do
|
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
|
it 'updates the notification count on create' do
|
||||||
Notification.any_instance.expects(:refresh_notification_count).returns(nil)
|
Notification.any_instance.expects(:refresh_notification_count).returns(nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user