2009-07-09 18:17:58 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
|
|
|
|
<title>Jasmine suite</title>
|
2009-08-01 00:07:47 +00:00
|
|
|
<script src="/jasmine/lib/jasmine.js"></script>
|
|
|
|
<script src="/jasmine/lib/json2.js"></script><!-- todo: don't load JSON in the test runner! [20090710 xw] -->
|
|
|
|
<script src="/jasmine/lib/TrivialReporter.js"></script>
|
2009-07-09 18:17:58 +00:00
|
|
|
<script src="/specs/javascripts/screw-jasmine-compat.js"></script>
|
|
|
|
<script type="text/javascript"></script>
|
2009-08-07 21:11:40 +00:00
|
|
|
<link href="/jasmine/lib/jasmine.css" rel="stylesheet"/>
|
2009-07-09 18:17:58 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
var jasmineEnv = jasmine.getEnv();
|
2009-07-10 21:35:24 +00:00
|
|
|
var jsApiReporter = new jasmine.JsApiReporter();
|
|
|
|
jasmineEnv.addReporter(jsApiReporter);
|
|
|
|
jasmineEnv.addReporter(new jasmine.TrivialReporter());
|
2009-07-09 18:17:58 +00:00
|
|
|
window.onload = function() {
|
|
|
|
jasmineEnv.execute();
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<% spec_files.each do |spec_file| %>
|
|
|
|
<script src="<%= spec_file %>" type="text/javascript"></script>
|
|
|
|
<% end %>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="jasmine_content"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|