mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:31:13 +08:00
FIX: Clean up after adding events. Fixes random test failures.
This commit is contained in:
@ -55,6 +55,10 @@ describe Plugin::Instance do
|
||||
@serializer = TroutSerializer.new(@trout)
|
||||
end
|
||||
|
||||
after do
|
||||
DiscourseEvent.clear
|
||||
end
|
||||
|
||||
it "checks enabled/disabled functionality for extensions" do
|
||||
|
||||
# with an enabled plugin
|
||||
|
Reference in New Issue
Block a user