mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 06:49:30 +08:00
DEV: Fix another chat bookmark spec (#20578)
Followup to a252022117350829dabd80c463cb8c8984da6548
This commit is contained in:
@ -499,6 +499,10 @@ describe ChatMessage do
|
||||
end
|
||||
|
||||
describe "bookmarks" do
|
||||
before { register_test_bookmarkable(ChatMessageBookmarkable) }
|
||||
|
||||
after { DiscoursePluginRegistry.reset_register!(:bookmarkables) }
|
||||
|
||||
it "destroys bookmarks" do
|
||||
message_1 = Fabricate(:chat_message)
|
||||
bookmark_1 = Fabricate(:bookmark, bookmarkable: message_1)
|
||||
|
Reference in New Issue
Block a user