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