templates/rails/spec.server.html in visionmedia-jspec-2.8.4 vs templates/rails/spec.server.html in visionmedia-jspec-2.9.0
- old
+ new
@@ -1,14 +1,14 @@
<html>
<head>
- <script src="jspec.js"></script>
- <script src="../public/javascripts/application.js"></script>
+ <script src="/jspec/jspec.js"></script>
+ <script src="/public/javascripts/application.js"></script>
<script>
function runSuites() {
JSpec
.exec('spec.application.js')
- .run()
- .reportToServer()
+ .run({ formatter : JSpec.formatters.Server, verbose: true, failuresOnly: true })
+ .report()
}
</script>
</head>
<body class="jspec" onLoad="runSuites();">
</body>
\ No newline at end of file