Skip to content

Commit

Permalink
slick spi: should add results to the append object
Browse files Browse the repository at this point in the history
  • Loading branch information
subtleGradient committed Feb 14, 2010
1 parent adb35ad commit 8e0cd51
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions SlickSpec/specs/slick.api.specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,19 @@ function specsSlickAPI(){

};

it['should add results to append'] = function(){
var append;

append = [];
Slick.search(document, '*', append);
value_of( append.length ).should_be( Slick.search(document, '*').length );

append = [];
Slick.search(document, '*', append);
value_of( append.length ).should_be( Slick.search(document, '*').length );

};

});


Expand Down

0 comments on commit 8e0cd51

Please sign in to comment.