Added cleanup after test.
This commit is contained in:
parent
ccc61277f8
commit
c43274e518
|
@ -528,7 +528,7 @@ class OnlineNotificationTest < ActiveSupport::TestCase
|
||||||
assert(!OnlineNotification.find_by(id: online_notification5.id))
|
assert(!OnlineNotification.find_by(id: online_notification5.id))
|
||||||
assert(OnlineNotification.find_by(id: online_notification6.id))
|
assert(OnlineNotification.find_by(id: online_notification6.id))
|
||||||
assert(OnlineNotification.find_by(id: online_notification7.id))
|
assert(OnlineNotification.find_by(id: online_notification7.id))
|
||||||
|
OnlineNotification.destroy_all
|
||||||
end
|
end
|
||||||
|
|
||||||
def notification_check(online_notifications, checks)
|
def notification_check(online_notifications, checks)
|
||||||
|
|
Loading…
Reference in a new issue