adrai/node-viewmodel — pull request #4 by sbiaudet (2014-10-01 20:25:19+00:00)
Title: Fix undefined repository test in ViewModel constructor

Fix this test that failed.

describe('ViewModel', function() {

describe('creating a ViewModel', function() {

describe('without repository', function() {

it('it should throw an error', function() {

expect(function() {
new ViewModel({ data: 'other stuff' });
}).to.throwError();

});

}); ….