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

This commit is contained in:
Joffrey JAFFEUX
2019-02-21 15:12:20 +01:00
committed by GitHub
parent f8e498f6ad
commit c5e952839a

View File

@ -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