diff options
| author | Misko Hevery | 2011-01-06 14:51:44 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-01-06 14:51:44 -0800 |
| commit | 807d8c92b39d703256838fa027c99cdbe9744e5a (patch) | |
| tree | d4c79f30013bb942c13f28340a556194339d3945 | |
| parent | 454626ad39bc19f03390363f3033ee88c3efd417 (diff) | |
| download | angular.js-807d8c92b39d703256838fa027c99cdbe9744e5a.tar.bz2 | |
removed dissabled tests which are now outdated
| -rw-r--r-- | test/AngularSpec.js | 12 | ||||
| -rw-r--r-- | test/servicesSpec.js | 10 |
2 files changed, 0 insertions, 22 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 6f943af8..50b296bd 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -2,18 +2,6 @@ beforeEach(function(){ compileCache = {}; }); -describe('Angular', function(){ - xit('should fire on updateEvents', function(){ - var onUpdateView = jasmine.createSpy(); - var scope = angular.compile("<div></div>", { onUpdateView: onUpdateView }); - expect(onUpdateView).wasNotCalled(); - scope.$init(); - scope.$eval(); - expect(onUpdateView).wasCalled(); - dealoc(scope); - }); -}); - describe('case', function(){ it('should change case', function(){ expect(lowercase('ABC90')).toEqual('abc90'); diff --git a/test/servicesSpec.js b/test/servicesSpec.js index cff79ae4..b2cac224 100644 --- a/test/servicesSpec.js +++ b/test/servicesSpec.js @@ -24,16 +24,6 @@ describe("service", function(){ expect(scope.$service('$window')).toEqual(window); }); - xit('should add stylesheets', function(){ - scope.$document = { - getElementsByTagName: function(name){ - expect(name).toEqual('LINK'); - return []; - } - }; - scope.$document.addStyleSheet('css/angular.css'); - }); - describe("$log", function(){ it('should use console if present', function(){ var logger = ""; |
