Created
July 18, 2013 19:39
-
-
Save andersonvom/6032352 to your computer and use it in GitHub Desktop.
Sample jasmine test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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