chore: code cleanups

This commit is contained in:
Muhsin Keloth
2024-07-24 15:18:49 +05:30
parent 4db61d61d5
commit bf95f98227
+1 -1
View File
@@ -187,7 +187,7 @@ describe NotificationListener do
event = Events::Base.new(event_name, Time.zone.now, conversation: conversation)
listener.assignee_changed(event)
expect(notification_setting.user.notifications.count).to eq(0)
expect(user.notifications.count).to eq(0)
end
it 'does not create notification when assignee is nil' do