Skip to content

Instantly share code, notes, and snippets.

@asalant
Created November 26, 2011 03:49
Show Gist options
  • Save asalant/1394948 to your computer and use it in GitHub Desktop.
Save asalant/1394948 to your computer and use it in GitHub Desktop.
Asynchronous jasmine-node example 1
describe 'User', ->
describe '#save()', ->
it 'should save without error', (done) ->
user = new User('Luna')
user.save (error) ->
expect(error).toBeNull()
done();
@asalant
Copy link
Author

asalant commented Dec 6, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment