Created
April 18, 2010 11:21
-
-
Save joshuacronemeyer/370172 to your computer and use it in GitHub Desktop.
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Graphics | JavaScript Testing Results</title> | |
<link rel="stylesheet" href="screw.css" type="text/css" charset="utf-8" /> | |
<script type="text/javascript" src="../../../vendor/plugins/blue-ridge/lib/blue-ridge.js"></script> | |
</head> | |
<body> | |
<!-- Put any HTML fixture elements here. --> | |
<div id="stuff"></div> | |
<script> | |
$(document).ready(function () { | |
$("#stuff").text("this page is ready"); | |
} | |
); | |
</script> | |
</body> | |
</html> |
This file contains 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
require("spec_helper.js"); | |
Screw.Unit(function(){ | |
describe("Graphics", function(){ | |
it("does something", function(){ | |
expect($("#stuff").text()).to(equal, "this page is ready"); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm. Ok. So this doesn't reproduce my issue precisely because switching to jquery 1.3.2 doesn't make this test pass... but am i missing something? shouldn't this test pass using rhino since it passes in the browser?