mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user