219d150c by Adam Heath

Start the test cases.

1 parent 8c9d9371
...@@ -229,7 +229,6 @@ module.exports = function (grunt) { ...@@ -229,7 +229,6 @@ module.exports = function (grunt) {
229 'test/specs/**/*.spec.js', 229 'test/specs/**/*.spec.js',
230 ], 230 ],
231 options: { 231 options: {
232 specs: 'test/specs/**/*.spec.js',
233 template: require('grunt-template-jasmine-istanbul'), 232 template: require('grunt-template-jasmine-istanbul'),
234 templateOptions: jasmineInstanbulTemplateOptions('grunt-template-jasmine-requirejs', jasmineRequirejsTemplateOptions(true)) 233 templateOptions: jasmineInstanbulTemplateOptions('grunt-template-jasmine-requirejs', jasmineRequirejsTemplateOptions(true))
235 } 234 }
......
...@@ -15,7 +15,12 @@ ...@@ -15,7 +15,12 @@
15 "test" 15 "test"
16 ], 16 ],
17 "dependencies": { 17 "dependencies": {
18 "backbone": "~1.1.0",
19 "backbone-validation": "0.9.1",
20 "bootstrap": "~3.1.0",
21 "jquery": "~1.10.2",
22 "requirejs": "~2.1.10",
18 "rivets": "~0.6.6", 23 "rivets": "~0.6.6",
19 "requirejs": "~2.1.10" 24 "underscore": "~1.6.0"
20 } 25 }
21 } 26 }
......
1 /* global require:true */
2 var require;
3 require = (function() {
4 'use strict';
5
6 var require = {
7 baseUrl: 'scripts',
8 shim: {
9 bootstrap: {
10 deps: [
11 'jquery'
12 ]
13 }
14 },
15 paths: {
16 'backbone-validation': '../lib/backbone-validation/dist/backbone-validation-amd',
17 backbone: '../lib/backbone/backbone',
18 underscore: '../lib/underscore/underscore',
19 rivets: '../lib/rivets/dist/rivets',
20 bootstrap: '../lib/bootstrap/dist/js/bootstrap',
21 jquery: '../lib/jquery/dist/jquery'
22 }
23 };
24
25 return require;
26 })();
1 /* global require */
2 require(
3 [],
4 function() {
5 'use strict';
6 }
7 );
1 define(function(require) {
2 'use strict';
3
4 var RivetsErrorBinder = require('rivets-error-binder');
5 require('backbone-validation');
6
7 describe('RivetsErrorBinder', function() {
8 it('exists', function() {
9 expect(RivetsErrorBinder).toBeUndefined();
10 });
11 });
12 });