DEV: Clear cache after not before.

* Clearing after ensures that state does not leak
  to specs in other files.
This commit is contained in:
Guo Xiang Tan 2018-09-13 14:23:32 +08:00
parent 5eb65ad612
commit 05a57d4f27
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
require 'rails_helper'
describe Theme do
before do
after do
Theme.clear_cache!
end