mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 04:38:47 +08:00
FEATURE: New 'Reviewable' model to make reviewable items generic
Includes support for flags, reviewable users and queued posts, with REST API backwards compatibility. Co-Authored-By: romanrizzi <romanalejandro@gmail.com> Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
This commit is contained in:
@ -269,7 +269,7 @@ describe Notification do
|
||||
topic: post.topic
|
||||
))
|
||||
|
||||
PostAction.act(user, post, PostActionType.types[:like])
|
||||
PostActionCreator.like(user, post)
|
||||
end.to change { Notification.count }.by(2)
|
||||
|
||||
expect(Notification.filter_by_display_username_and_type(
|
||||
|
Reference in New Issue
Block a user