Finish ItemCollection.remove test.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -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() { | ... | ... |
-
Please register or sign in to post a comment