velesin/jasmine-jquery — pull request #120 by khepin (2013-03-29 03:44:17+00:00)
Title: Add toContainText expectation

Similar to how there is both `toHaveHtml` and `toContainHtml`.

Returns true if the passed text exists in the element's text even if the element's text is longer.
Returns false if the passed text doesn't exist in the element's text.