Skip to content

Commit

Permalink
Update specs related to knockout#733 and knockout#827
Browse files Browse the repository at this point in the history
  • Loading branch information
rniemeyer committed Mar 16, 2013
1 parent f1c8a2d commit 94fb086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/observableArrayBehaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ describe('Observable Array', function() {

// Try allowed args
expect((new ko.observableArray([1,2,3]))().length).toEqual(3);
expect((new ko.observableArray(null))()).toEqual(null);
expect((new ko.observableArray(undefined))()).toEqual(undefined);
expect((new ko.observableArray(null))().length).toEqual(0);
expect((new ko.observableArray(undefined))().length).toEqual(0);
});

it('Should be able to write values to it', function () {
Expand Down

0 comments on commit 94fb086

Please sign in to comment.