219d150c by Adam Heath

Start the test cases.

1 parent 8c9d9371
......@@ -229,7 +229,6 @@ module.exports = function (grunt) {
'test/specs/**/*.spec.js',
],
options: {
specs: 'test/specs/**/*.spec.js',
template: require('grunt-template-jasmine-istanbul'),
templateOptions: jasmineInstanbulTemplateOptions('grunt-template-jasmine-requirejs', jasmineRequirejsTemplateOptions(true))
}
......
......@@ -15,7 +15,12 @@
"test"
],
"dependencies": {
"backbone": "~1.1.0",
"backbone-validation": "0.9.1",
"bootstrap": "~3.1.0",
"jquery": "~1.10.2",
"requirejs": "~2.1.10",
"rivets": "~0.6.6",
"requirejs": "~2.1.10"
"underscore": "~1.6.0"
}
}
......
/* global require:true */
var require;
require = (function() {
'use strict';
var require = {
baseUrl: 'scripts',
shim: {
bootstrap: {
deps: [
'jquery'
]
}
},
paths: {
'backbone-validation': '../lib/backbone-validation/dist/backbone-validation-amd',
backbone: '../lib/backbone/backbone',
underscore: '../lib/underscore/underscore',
rivets: '../lib/rivets/dist/rivets',
bootstrap: '../lib/bootstrap/dist/js/bootstrap',
jquery: '../lib/jquery/dist/jquery'
}
};
return require;
})();
/* global require */
require(
[],
function() {
'use strict';
}
);
define(function(require) {
'use strict';
var RivetsErrorBinder = require('rivets-error-binder');
require('backbone-validation');
describe('RivetsErrorBinder', function() {
it('exists', function() {
expect(RivetsErrorBinder).toBeUndefined();
});
});
});