mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Leaking state in PostActionNotifier in tests take 2.
Follow-up to a3b48826
This commit is contained in:
@@ -108,6 +108,10 @@ describe PostActionNotifier do
|
||||
end
|
||||
end
|
||||
|
||||
after do
|
||||
PostActionNotifier.reset!
|
||||
end
|
||||
|
||||
it 'notifies the specified user of the revision' do
|
||||
expect {
|
||||
post.revise(evil_trout, raw: "world is the new body of the message")
|
||||
|
||||
Reference in New Issue
Block a user