Added cleanup after test.

This commit is contained in:
Martin Edenhofer 2016-02-21 12:54:27 +01:00
parent ccc61277f8
commit c43274e518

View file

@ -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)