mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
DEV: ensures CustomEmoji cache is cleared after spec (#9361)
This commit is contained in:
@ -544,6 +544,10 @@ describe Plugin::Instance do
|
||||
Plugin::CustomEmoji.clear_cache
|
||||
end
|
||||
|
||||
after do
|
||||
Plugin::CustomEmoji.clear_cache
|
||||
end
|
||||
|
||||
it 'allows to register an emoji' do
|
||||
Plugin::Instance.new.register_emoji("foo", "/foo/bar.png")
|
||||
|
||||
|
Reference in New Issue
Block a user