-
-
Save tswicegood/459473 to your computer and use it in GitHub Desktop.
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
# Current API. | |
exports.name: "Unit tests for ochre.Case" | |
exports.tests: { | |
"case has name property equal to what it is instantiated with": -> | |
testCase: ochre.Case "Some test", -> | |
assert.equal "Some test", testCase.name | |
# Hypothetical API. | |
suite "Unit tests for ochre.Case", { | |
"case has name property equal to what it is instantiated with", -> | |
testCase: ochre.Case "Some test", -> | |
assert.equal "Some test", testCase.name | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment