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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1097,6 +1097,7 @@ describe Report do
describe "consolidated_page_views" do describe "consolidated_page_views" do
before do before do
freeze_time(Time.now.at_midnight) freeze_time(Time.now.at_midnight)
Theme.clear_default!
ApplicationRequest.clear_cache! ApplicationRequest.clear_cache!
end end