Fix random build error

Request specs could poison the cache since clear_cache! deletes only today and yesterday from the cache.
This commit is contained in:
Gerhard Schlager 2018-11-08 02:51:42 +01:00
parent 37fb8fc0e7
commit 0122b8cd8b

View File

@ -3,7 +3,7 @@ require 'rails_helper'
describe ApplicationRequest do
before do
ApplicationRequest.last_flush = Time.now.utc
ApplicationRequest.clear_cache!
$redis.flushall
end
after do