summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--karma-unit.conf.js8
-rw-r--r--merlin/test/js/directivesSpec.js2
-rw-r--r--package.json12
3 files changed, 13 insertions, 9 deletions
diff --git a/karma-unit.conf.js b/karma-unit.conf.js
index 2a2d800..87b08ad 100644
--- a/karma-unit.conf.js
+++ b/karma-unit.conf.js
@@ -23,15 +23,17 @@ module.exports = function (config) {
23 23
24 basePath: '', 24 basePath: '',
25 25
26 frameworks: ['jasmine'], 26 frameworks: ['jasmine-jquery','jasmine'],
27 27
28 browsers: [ 'PhantomJS', 'Chrome'], 28 browsers: [ 'PhantomJS', 'Chrome', 'Firefox'],
29 29
30 plugins: [ 30 plugins: [
31 'karma-jasmine', 31 'karma-jasmine',
32 'karma-phantomjs-launcher', 32 'karma-phantomjs-launcher',
33 'karma-chrome-launcher', 33 'karma-chrome-launcher',
34 'karma-ng-html2js-preprocessor' 34 'karma-firefox-launcher',
35 'karma-ng-html2js-preprocessor',
36 'karma-jasmine-jquery'
35 ], 37 ],
36 38
37 files: [ 39 files: [
diff --git a/merlin/test/js/directivesSpec.js b/merlin/test/js/directivesSpec.js
index fd8fcc4..7a3df8e 100644
--- a/merlin/test/js/directivesSpec.js
+++ b/merlin/test/js/directivesSpec.js
@@ -245,7 +245,7 @@ describe('merlin directives', function() {
245 $scope.$digest(); 245 $scope.$digest();
246 246
247 expect(element1.html()).toContain('<textarea'); 247 expect(element1.html()).toContain('<textarea');
248 expect(element2.html()).toContain('<input type="number"'); 248 expect(element2).toContainElement('input[type=number]');
249 }); 249 });
250 250
251 it('field is not rendered until the corresponding template has been served', function() { 251 it('field is not rendered until the corresponding template has been served', function() {
diff --git a/package.json b/package.json
index 0569628..f0fc170 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,8 @@
9 "grunt-cli": "0.1.13", 9 "grunt-cli": "0.1.13",
10 "grunt-connect-proxy": "0.1.11", 10 "grunt-connect-proxy": "0.1.11",
11 "grunt-contrib-clean": "0.6.0", 11 "grunt-contrib-clean": "0.6.0",
12 "grunt-contrib-concat": "0.5.1",
13 "grunt-contrib-uglify": "0.8.1",
12 "grunt-contrib-watch": "0.6.1", 14 "grunt-contrib-watch": "0.6.1",
13 "grunt-env": "0.4.1", 15 "grunt-env": "0.4.1",
14 "grunt-eslint": "7.0.1", 16 "grunt-eslint": "7.0.1",
@@ -19,16 +21,16 @@
19 "grunt-shell": "1.1.1", 21 "grunt-shell": "1.1.1",
20 "grunt-usemin": "2.4.0", 22 "grunt-usemin": "2.4.0",
21 "grunt-webfont": "0.4.8", 23 "grunt-webfont": "0.4.8",
22 "grunt-contrib-concat": "0.5.1",
23 "grunt-contrib-uglify": "0.8.1",
24 "grunt-karma": "0.10.1",
25 "jasmine-core": "^2.2.0", 24 "jasmine-core": "^2.2.0",
25 "jasmine-jquery": "2.1.0",
26 "karma": "0.12.31", 26 "karma": "0.12.31",
27 "karma-chrome-launcher": "0.1.12", 27 "karma-chrome-launcher": "0.1.12",
28 "karma-cli": "0.0.4", 28 "karma-cli": "0.0.4",
29 "karma-firefox-launcher": "^0.1.6",
29 "karma-jasmine": "0.3.5", 30 "karma-jasmine": "0.3.5",
30 "karma-phantomjs-launcher": "0.1.4", 31 "karma-jasmine-jquery": "0.1.1",
31 "karma-ng-html2js-preprocessor": "0.1" 32 "karma-ng-html2js-preprocessor": "0.1",
33 "karma-phantomjs-launcher": "0.1.4"
32 }, 34 },
33 "main": "Gruntfile.js", 35 "main": "Gruntfile.js",
34 "dependencies": { 36 "dependencies": {