Created
October 9, 2010 00:34
-
-
Save elight/617754 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Jasmine Test Runner</title> | |
<link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine.css"> | |
<script type="text/javascript" src="jquery-1.4.2.js"></script> | |
<script type="text/javascript" src="coffee-script.js"></script> | |
<script type="text/javascript" src="jasmine/lib/jasmine.js"></script> | |
<script type="text/javascript" src="jasmine/lib/jasmine-html.js"></script> | |
</head> | |
<body> | |
<script type="text/coffeescript"> | |
console.debug "ohai" | |
ecology = null | |
describe "A cell ecology", -> | |
console.debug "I'm in ur describe trying to run ur test" | |
beforeEach -> | |
console.debug "please work" | |
ecology = CellEcology {cell_alive: true} | |
console.debug "I'm still readin' ur describe" | |
it "should know whether the contained cell is alive or dead", -> | |
console.debug "again" | |
expect(ecology.has_living_cell).toBeTruthy() | |
console.debug "k ur dun describin' now" | |
</script> | |
<script type="text/javascript"> | |
jasmine.getEnv().addReporter(new jasmine.TrivialReporter()); | |
jasmine.getEnv().execute(); | |
</script> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment