Created
April 11, 2011 20:54
-
-
Save gmoeck/914318 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Page.within('.search-results', function() { | |
expect(Page.html()).toContain(itemTitle); | |
}); |
so in your mind there html is a jQuery object?
I just thought that would be a clean way to replace Page.html(). I thought that it would be whatever Page.html() returns
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you do something like?: