pivotal/jasmine — pull request #698 by charleshansen (2014-10-29 22:39:27+00:00)
Title: toContain works with array-like objects (Arguments, HTMLCollections, etc...)

toContain only works with proper Arrays and strings (or other things that implement `indexOf`). It can work with HTML Collections and Arguments lists using Array.prototype.indexOf. Behavior is unchanged for objects that already have `indexOf`