mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 11:32:11 +08:00
Add deleted_by
to Trashable
tables
This commit is contained in:
@ -29,7 +29,7 @@ describe InvitesController do
|
||||
end
|
||||
|
||||
it "destroys the invite" do
|
||||
Invite.any_instance.expects(:trash!)
|
||||
Invite.any_instance.expects(:trash!).with(user)
|
||||
delete :destroy, email: invite.email
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user