From a252022117350829dabd80c463cb8c8984da6548 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Wed, 8 Mar 2023 12:39:51 +1000 Subject: [PATCH] DEV: Fix broken plugin specs because of bookmarkable changes (#20574) --- plugins/chat/spec/lib/chat_message_bookmarkable_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chat/spec/lib/chat_message_bookmarkable_spec.rb b/plugins/chat/spec/lib/chat_message_bookmarkable_spec.rb index e9678c84089..af7210611a5 100644 --- a/plugins/chat/spec/lib/chat_message_bookmarkable_spec.rb +++ b/plugins/chat/spec/lib/chat_message_bookmarkable_spec.rb @@ -15,7 +15,7 @@ describe ChatMessageBookmarkable do UserChatChannelMembership.create(chat_channel: channel, user: user, following: true) end - after { DiscoursePluginRegistry.reset! } + after { DiscoursePluginRegistry.reset_register!(:bookmarkables) } let!(:message1) { Fabricate(:chat_message, chat_channel: channel) } let!(:message2) { Fabricate(:chat_message, chat_channel: channel) }