Merge "General specs enclosure cleanup"
This commit is contained in:
commit
ae084c7160
@ -1,13 +1,14 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
|
||||
describe('hz.widget.charts module', function () {
|
||||
'use strict';
|
||||
|
||||
describe('hz.widget.charts module', function () {
|
||||
it('should be defined', function () {
|
||||
expect(angular.module('hz.widget.charts')).toBeDefined();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('pie chart directive', function() {
|
||||
describe('pie chart directive', function() {
|
||||
|
||||
var $scope, $element;
|
||||
|
||||
@ -85,4 +86,5 @@ describe('pie chart directive', function() {
|
||||
expect(secondKeyLabel.textContent.trim()).toBe('1 Added');
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
})();
|
@ -1,13 +1,13 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
describe('hz.widget.form module', function(){
|
||||
describe('hz.widget.form module', function(){
|
||||
it('should have been defined', function(){
|
||||
expect(angular.module('hz.widget.form')).toBeDefined();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('form directives', function() {
|
||||
describe('form directives', function() {
|
||||
beforeEach(module('hz'));
|
||||
beforeEach(module('hz.widgets'));
|
||||
beforeEach(module('hz.widget.form'));
|
||||
@ -90,4 +90,5 @@ describe('form directives', function() {
|
||||
});
|
||||
|
||||
}); // end of hzPasswordMatch directive
|
||||
}); // end of form directives
|
||||
}); // end of form directives
|
||||
})();
|
@ -1,13 +1,13 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
describe('hz.widget.help-panel module', function() {
|
||||
describe('hz.widget.help-panel module', function() {
|
||||
it('should have been defined', function () {
|
||||
expect(angular.module('hz.widget.help-panel')).toBeDefined();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('help-panel directive', function () {
|
||||
describe('help-panel directive', function () {
|
||||
var $compile,
|
||||
$scope,
|
||||
element;
|
||||
@ -45,4 +45,5 @@ describe('help-panel directive', function () {
|
||||
$scope.$digest();
|
||||
expect(element[0].querySelector('.help-panel').className).toBe('help-panel');
|
||||
});
|
||||
});
|
||||
});
|
||||
})();
|
@ -14,10 +14,10 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
describe('hzLoginCtrl', function(){
|
||||
describe('hzLoginCtrl', function(){
|
||||
|
||||
var $controller;
|
||||
|
||||
@ -34,9 +34,9 @@ describe('hzLoginCtrl', function(){
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('hzLoginFinder', function(){
|
||||
describe('hzLoginFinder', function(){
|
||||
|
||||
var $compile, $rootScope, $timeout;
|
||||
|
||||
@ -163,4 +163,5 @@ describe('hzLoginFinder', function(){
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
})();
|
@ -1,7 +1,7 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
describe('hz.widget.metadata-display module', function() {
|
||||
describe('hz.widget.metadata-display module', function() {
|
||||
it('should have been defined', function () {
|
||||
expect(angular.module('hz.widget.metadata-display')).toBeDefined();
|
||||
});
|
||||
@ -132,4 +132,5 @@ describe('hz.widget.metadata-display module', function() {
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
})();
|
@ -1,7 +1,7 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
describe('hz.widget.metadata-tree module', function() {
|
||||
describe('hz.widget.metadata-tree module', function() {
|
||||
it('should have been defined', function () {
|
||||
expect(angular.module('hz.widget.metadata-tree')).toBeDefined();
|
||||
});
|
||||
@ -186,4 +186,5 @@ describe('hz.widget.metadata-tree module', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
})();
|
1
horizon/static/angular/table/table.js
vendored
1
horizon/static/angular/table/table.js
vendored
@ -1,4 +1,3 @@
|
||||
/* jshint globalstrict: true */
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
describe('hz.widget.wizard module', function () {
|
||||
describe('hz.widget.wizard module', function () {
|
||||
it('should have been defined', function () {
|
||||
expect(angular.module('hz.widget.wizard')).toBeDefined();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('wizard directive', function () {
|
||||
describe('wizard directive', function () {
|
||||
var $compile,
|
||||
$scope,
|
||||
element;
|
||||
@ -159,5 +159,5 @@ describe('wizard directive', function () {
|
||||
$scope.$digest();
|
||||
expect(element[0].querySelector('.error-message').textContent).toBe(errorMessage);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
})();
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* jshint globalstrict: true */
|
||||
/*
|
||||
* (c) Copyright 2015 Hewlett-Packard Development Company, L.P.
|
||||
*
|
||||
|
@ -1,2 +1,4 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
})();
|
||||
|
@ -1,2 +1,4 @@
|
||||
/* jshint globalstrict: true */
|
||||
'use strict';
|
||||
(function(){
|
||||
'use strict';
|
||||
|
||||
})();
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* jshint globalstrict: true */
|
||||
/*
|
||||
* (c) Copyright 2015 Hewlett-Packard Development Company, L.P.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user