applait / finderjs

Finder and file picker library for Firefox OS
http://finder.js.org
MIT License
14 stars 7 forks source link

Fixes #7 Tests for reset method #13

Closed dolftax closed 9 years ago

kaustavdm commented 9 years ago

@jaipradeesh This needs more work. Refer to https://github.com/applait/finderjs/issues/7#issuecomment-65962495

kaustavdm commented 9 years ago

@jaipradeesh Quick pointer. This implementation can be quickly patched.

Just set the properties that you expect to be reset to some garbage value before calling finder.reset(). Then the rest of the test should go as it is. :)

dolftax commented 9 years ago

:see_no_evil: https://github.com/applait/finderjs/pull/15