lib/jazrb/intro.js in smparkes-jazrb-0.0.4 vs lib/jazrb/intro.js in smparkes-jazrb-0.0.8
- old
+ new
@@ -1,17 +1,16 @@
(function(){
var prefix = Ruby.ENV["JAZRB_JS_PATH"];
load(prefix + "/jasmine/jasmine.js");
load(prefix + "/jasmine/TrivialReporter.js");
- load(prefix + "/jasmine/EnvjsReporter.js");
+ load(prefix + "/jasmine/XMLReporter.js");
})();
(function () {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
- var _EnvjsReporter = new jasmine.EnvjsReporter();
- jasmineEnv.addReporter(_EnvjsReporter);
+ jasmineEnv.addReporter(new jasmine.XMLReporter());
window.onload = function() {
jasmineEnv.execute();
};
})();