Created
July 25, 2011 21:43
-
-
Save fearofcode/1105311 to your computer and use it in GitHub Desktop.
simple demonstration of jasmine + jasmine-jquery - http://pivotal.github.com/jasmine/, https://github.com/velesin/jasmine-jquery
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
describe("Simple test of jasmine and jasmine-jquery", function() { | |
it("should be able to run tests on HTML to demonstrate jasmine-jquery", function() { | |
expect($('<div>some text</div>')).toHaveText('some text') | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment