From c5e952839acc2d648f9d271a528c7c110ed70db7 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 21 Feb 2019 15:12:20 +0100 Subject: [PATCH] FIX: prevents other tests from leaking modified theme color (#7051) --- spec/models/report_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/models/report_spec.rb b/spec/models/report_spec.rb index 11437020243..7061cdff124 100644 --- a/spec/models/report_spec.rb +++ b/spec/models/report_spec.rb @@ -1097,6 +1097,7 @@ describe Report do describe "consolidated_page_views" do before do freeze_time(Time.now.at_midnight) + Theme.clear_default! ApplicationRequest.clear_cache! end