mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add deleted_by to Trashable tables
This commit is contained in:
@@ -137,7 +137,7 @@ describe PostActionsController do
|
||||
end
|
||||
|
||||
it "works with a deleted post" do
|
||||
flagged_post.trash!
|
||||
flagged_post.trash!(user)
|
||||
xhr :post, :clear_flags, id: flagged_post.id, post_action_type_id: PostActionType.types[:spam]
|
||||
response.should be_success
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user