e3b61d72 by Adam Heath

Finish ItemCollection.remove test.

1 parent c9fffad0
...@@ -71,10 +71,10 @@ define(function(require) { ...@@ -71,10 +71,10 @@ define(function(require) {
71 expect(got).toEqual(wantedCheckedKeys); 71 expect(got).toEqual(wantedCheckedKeys);
72 }); 72 });
73 var item2 = ascItemOrder[2]; 73 var item2 = ascItemOrder[2];
74 it('foobar', function() { 74 it('remove not supported', function() {
75 console.log(JSON.stringify(items.models)); 75 expect(items.length).toBe(wantedItemOrder.length);
76 items.remove(item2); 76 items.remove(item2);
77 console.log(item2, JSON.stringify(items.models)); 77 expect(items.length).toBe(wantedItemOrder.length);
78 }); 78 });
79 } 79 }
80 describe('type[field]', function() { 80 describe('type[field]', function() {
......