Skip to content

Instantly share code, notes, and snippets.

@ovaillancourt
Created July 4, 2012 21:47
Show Gist options
  • Save ovaillancourt/3049709 to your computer and use it in GitHub Desktop.
Save ovaillancourt/3049709 to your computer and use it in GitHub Desktop.
describe('when the route matches', function(){
it('should invoke the callback', function(done){
page('/user', function(ctx){
done();
})
page.show('/user?test=true');
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment