Lordnibbler / colorpicker-server

Node.js + Backbone.js Colorpicker Server for controlling LED lighting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve View Tests, Implement missing test

Lordnibbler opened this issue · comments

Missing tests

  • /views/app.js#saveColor()
    • Needs either a Sinon fake server or a .yieldsTo('success')

Improve Tests

Use jQuery selectors/finders based off View.$el instead of matching strings.

  • /views/savedColor.js
  • /views/savedColors.js