From c43274e51876a6abd026d0c320d27d6b6a1c5204 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 21 Feb 2016 12:54:27 +0100 Subject: [PATCH] Added cleanup after test. --- test/unit/online_notifiaction_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/online_notifiaction_test.rb b/test/unit/online_notifiaction_test.rb index c8d0bcac9..d9c39f986 100644 --- a/test/unit/online_notifiaction_test.rb +++ b/test/unit/online_notifiaction_test.rb @@ -528,7 +528,7 @@ class OnlineNotificationTest < ActiveSupport::TestCase assert(!OnlineNotification.find_by(id: online_notification5.id)) assert(OnlineNotification.find_by(id: online_notification6.id)) assert(OnlineNotification.find_by(id: online_notification7.id)) - + OnlineNotification.destroy_all end def notification_check(online_notifications, checks)