In my controller I have the following code that triggers a websockets event inside the update method:
WebsocketRails[recipient.id].trigger "new_activity", "Shared" if recipient.online?
How can I test that my controller is triggering this event?
Aucun commentaire:
Enregistrer un commentaire