@@ -7,6 +7,10 @@ describe('My notes controller', function(){
$controller('NoteCtrl', {Notes:Notes,$scope:scope});
}));
+ it('initializes default notes list', function(){
+ expect(scope.notes).not.toBeUndefined();
+ });
+
it('has a default new note', function(){
expect(scope.newNote).not.toBeUndefined();
});