Created
March 2, 2012 21:10
-
-
Save mark-rushakoff/1961432 to your computer and use it in GitHub Desktop.
Sample gist for try-jasmine
This file contains 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
function add(a, b) { | |
return a + b; | |
} |
This file contains 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("trying specs from a gist", function() { | |
it("works with multiple files in a gist", function() { | |
expect(add(1, 2)).toBe(3); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment