FIX: prevents other tests from leaking modified theme color (#7051)

approved
heisentest
#1

FIX: prevents other tests from leaking modified theme color (#7051)

diff --git a/spec/models/report_spec.rb b/spec/models/report_spec.rb
index 1143702..7061cdf 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

GitHub sha: c5e95283

1 Like
Approved #2