mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
Fix weird test failure.
This commit is contained in:
@ -133,7 +133,7 @@ describe Notification do
|
||||
|
||||
it 'updates the notification count on destroy' do
|
||||
Notification.any_instance.expects(:refresh_notification_count).returns(nil)
|
||||
notification.destroy
|
||||
notification.destroy!
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user