mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 02:09:30 +00:00
DEV: Clear cache after not before.
* Clearing after ensures that state does not leak to specs in other files.
This commit is contained in:
parent
5eb65ad612
commit
05a57d4f27
@ -1,8 +1,7 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe Theme do
|
||||
|
||||
before do
|
||||
after do
|
||||
Theme.clear_cache!
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user