Show how to test RESTful front-end models that use socket.io as its transport.
- Warm up: build a small app with realtime communication using
socket.io
(maybe a chat). - Refactor: rebuild model layer to be RESTful via sockets.
- Ask how should we test this, and talk about options.
- Show what
can-socket-fixture
is for, and try to test with it. - Show that if we subscribe to socket events inside a model module then its a problem to intercept socket.io to fixture it.
- Show
steal-socket.io
which can help with #5.