Skip to content

Instantly share code, notes, and snippets.

@elia
Created February 11, 2014 11:34
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 elia/a1c16041f904258a97a4 to your computer and use it in GitHub Desktop.
Save elia/a1c16041f904258a97a4 to your computer and use it in GitHub Desktop.
TodoMVC - vienna
No Todos
✓ should hide #main and #footer (284ms)
New Todo
✓ should allow me to add todo items (481ms)
✓ should clear text input field when an item is added (224ms)
✓ should append new items to the bottom of the list (536ms)
✓ should trim text input (204ms)
✓ should show #main and #footer when items added (338ms)
Mark all as completed
✓ should allow me to mark all items as completed (787ms)
✓ should allow me to clear the completion state of all items (938ms)
1) complete all checkbox should update state when items are completed / cleared
Item
✓ should allow me to mark items as complete (767ms)
✓ should allow me to un-mark items as complete (816ms)
✓ should allow me to edit an item (844ms)
✓ should show the remove button on hover
Editing
✓ should hide other controls when editing (747ms)
✓ should save edits on enter (794ms)
✓ should save edits on blur (970ms)
✓ should trim entered text (833ms)
✓ should remove the item if an empty text string was entered (801ms)
✓ should cancel edits on escape (804ms)
Counter
✓ should display the current number of todo items (396ms)
Clear completed button
✓ should display the number of completed items (753ms)
✓ should remove completed items when clicked (748ms)
✓ should be hidden when there are no items that are completed (811ms)
Routing
2) should allow me to display active items
3) should allow me to display completed items
✓ should allow me to display all items (908ms)
✓ should highlight the currently applied filter (893ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment