mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
@@ -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