mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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