Created
November 1, 2012 16:43
-
-
Save dangerbell/3994937 to your computer and use it in GitHub Desktop.
Simple Mocha BDD example
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 "Calculator", -> | |
describe "addition", -> | |
it "should add two numbers", -> | |
add(2, 2).should.equal 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment