Test stabilization: Travel back after each test to avoid missing cleanup of stubbed Time objects.

This commit is contained in:
Thorsten Eckel 2018-08-22 16:22:10 +02:00
parent b0c53fe925
commit 6682037e3c

View file

@ -49,6 +49,10 @@ class ActiveSupport::TestCase
travel_back
end
teardown do
travel_back
end
# Add more helper methods to be used by all tests here...
def email_notification_count(type, recipient)