Clear JobBuffer on teardown

ActiveJob tests should be able to rely on a clean JobBuffer in each test.
This commit is contained in:
Sam Bostock 2022-07-18 23:30:12 -04:00
parent 4e9fee9629
commit eb4b540368
No known key found for this signature in database
GPG Key ID: 453DB0A5D5DAE5D2

@ -19,3 +19,9 @@ def last_value
end
end
end
class ActiveSupport::TestCase
teardown do
JobBuffer.clear
end
end