Test stabilization: Travel back after each test to avoid missing cleanup of stubbed Time objects.
This commit is contained in:
parent
b0c53fe925
commit
6682037e3c
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue