DEV: Fix interactions between tests via plugin svg sprite cache (#22047)
This commit is contained in:
parent
bf07845714
commit
0cec84206e
|
@ -3,7 +3,12 @@
|
||||||
|
|
||||||
RSpec.describe ThemeField do
|
RSpec.describe ThemeField do
|
||||||
fab!(:theme) { Fabricate(:theme) }
|
fab!(:theme) { Fabricate(:theme) }
|
||||||
before { ThemeJavascriptCompiler.disable_terser! }
|
|
||||||
|
before do
|
||||||
|
SvgSprite.clear_plugin_svg_sprite_cache!
|
||||||
|
ThemeJavascriptCompiler.disable_terser!
|
||||||
|
end
|
||||||
|
|
||||||
after { ThemeJavascriptCompiler.enable_terser! }
|
after { ThemeJavascriptCompiler.enable_terser! }
|
||||||
|
|
||||||
describe "scope: find_by_theme_ids" do
|
describe "scope: find_by_theme_ids" do
|
||||||
|
|
Loading…
Reference in New Issue