Skip to content

Instantly share code, notes, and snippets.

@andersonvom
Created July 18, 2013 19:39
Show Gist options
  • Save andersonvom/6032352 to your computer and use it in GitHub Desktop.
Save andersonvom/6032352 to your computer and use it in GitHub Desktop.
Sample jasmine test
describe('#method_name', function() {
beforeEach(function() {
// Set up
});
it('should do something', function() {
expect('pending').toBe('complete');
});
// more tests...
it('should not do something else', function() {
expect('pending').toBe('complete');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment