Skip to content

Instantly share code, notes, and snippets.

@ptitfred
Created August 6, 2011 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptitfred/1129876 to your computer and use it in GitHub Desktop.
Save ptitfred/1129876 to your computer and use it in GitHub Desktop.
TDD en Coffee Script avec QUnit
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