rotundasoftware/backbone.viewOptions — pull request #2 by elliottjohnson (2014-01-02 05:08:30+00:00)
Title: Testing for backbone.viewOptions

This is the pull request for the addition of testing to the project based on the methods used in backbone.subview.

I used the latest version of underscore (1.5.2) and backbone. (1.1.0) as well as the latest qunit (1.12.0). I'm not sure how you'd like to manage keeping these sources up to date in the future, so maybe we can discuss that when we next talk.

Currently 17 out of 18 tests pass. The one which doesn't is well documented and I'd also like to discuss the behavior with you, since it maybe an edge case considered valid.

I also caught an issue with normalizing the new option format ie. { "option" : "default", etc } in the library itself and gave it a quick fix, which is the second commit (80ccf9a).

I hope the tests are up to your standards and style. Looking forward to talking to you guys soon.
-Elliott