mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove acts_as_paranoid, use .trash! , .recover! and .with_deleted as needed
makes upgrading to rails 4 possible
This commit is contained in:
@@ -29,7 +29,7 @@ describe InvitesController do
|
||||
end
|
||||
|
||||
it "destroys the invite" do
|
||||
Invite.any_instance.expects(:destroy)
|
||||
Invite.any_instance.expects(:trash!)
|
||||
delete :destroy, email: invite.email
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user