lib/calatrava/templates/kernel/spec/spec_helper.js in calatrava-0.6.6 vs lib/calatrava/templates/kernel/spec/spec_helper.js in calatrava-0.6.7
- old
+ new
@@ -10,11 +10,11 @@
underscore = require('underscore');
_ = underscore;
stubView = require('stubView.coffee').stubView;
-tw = require('environment.spec_helper').tw;
+calatrava = require('environment.spec_helper').calatrava;
function recursiveExtend(moduleToExtend, module) {
_.each(module, function (value, key) {
if (moduleToExtend[key] == null) moduleToExtend[key] = {};
if (typeof value == "Object") {
@@ -25,12 +25,13 @@
});
}
example = {};
recursiveExtend(example, require('controller.converter').example);
+recursiveExtend(example, require('repository.converter').example);
exports.stubView = stubView;
-exports.tw = tw;
+exports.calatrava = calatrava;
exports.appDir = __dirname + "/../app";
exports.example = example;
// Custom matchers:
beforeEach(function() {