Testing Backbone applications with Jasmine and Sinon Part 2: Models and Collections 25 March 2011 Overview This is the second in a series of articles demonstrating how to test a Backbone.js application, employing the Jasmine BDD test framework and the Sinon.JS spying, stubbing and mocking library. If you haven’t yet read the first part, take a look now. In this part, we’ll look at some examples fo