mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08: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:
@ -1,8 +1,7 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe Theme do
|
||||
|
||||
before do
|
||||
after do
|
||||
Theme.clear_cache!
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user