Commit Graph

457 Commits (49fcb50d483af8bb716a0b676569daf3e3ca31d6)

Author SHA1 Message Date
lilia 0cf5ae3bbf Reorganize message view test a bit 11 years ago
lilia db86abdf70 Add list view tests
Also,
 * moved fetch out of the list view
 * removed unused #last() function
 * put test setup lines in their own tiny file.
 * added data-cover to view script tags for code coveage reports.
11 years ago
lilia 4ccb2b2f98 Add a page for testing views. 11 years ago
Matt Corallo 87b626d42a Fix blanket popup 11 years ago
Matt Corallo 615fa1075c Fix blanket for plugin (http://stackoverflow.com/questions/23022686) 11 years ago
Matt Corallo 5e3b7e9db8 Add missing blanket-js file 11 years ago
lilia 2751d0e884 Such tests. Very mocha. Much chai. Amaze!!!
ERHMAGERRRD testing frameworks are so the best. Removed all our custom
code for ensuring test exclusivity and doneness and isolating callbacks
and everything. mocha does it all for us, and makes it pretty.

Also rather than return a long chain of promises that eventually resolve
to truthiness, we now use chai to make assertions about what is good and
right in the world.

Recommended reading:
  https://visionmedia.github.io/mocha
  http://chaijs.com/api/assert/
11 years ago