Recently I fell in love with Pretender, the mock server library in Javascript, so I decided to record a screencast showing how to use it in an Ember.js integration test:

The source code for the login application is on github. The finished version is in the pretender branch.