Skip to content

Instantly share code, notes, and snippets.

@ricroberts
Created July 4, 2011 12:17
Show Gist options
  • Save ricroberts/1063278 to your computer and use it in GitHub Desktop.
Save ricroberts/1063278 to your computer and use it in GitHub Desktop.
testStartAndStopEvent: function(test) {
browser.get('/events/start/1', function(res, $) {
res.should.have.status(200);
console.log(res.body); // => undefined
browser.get('/events/stop/1', function(res2, $) {
res2.should.have.status(200);
test.done();
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment