Created
August 6, 2011 23:23
-
-
Save ptitfred/1129876 to your computer and use it in GitHub Desktop.
TDD en Coffee Script avec QUnit
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
test "Bookmark toString works", -> | |
### given ### | |
bookmark = new Bookmark "lien@localhost", "lien", new Point 0, 1 | |
### when ### | |
text = bookmark.toString() | |
### then ### | |
equals "Bookmark \"lien\" lien@localhost at (0,1)", text, "Bookmark.toString()" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment