Mocha testing using expectjs, getting model to match hash?
===

Currently I'm doing this:

    expect( tasks.at(0).get('title') ).to.be('Root')
    expect( tasks.at(0).get('next') ).to.be(true)

But it seems like there should be a better way. I'd rather do something like this:

    expect(tasks.at(0).attributes).to.eql({title:'Root', next:true})

But that doesn't work because `tasks.at(1).attributes` has many other attributes, so it doesn't strictly match. Any ideas? I'm fine with using something other than expectjs.