removed dissabled tests which are now outdated

This commit is contained in:
Misko Hevery 2011-01-06 14:51:44 -08:00
parent 454626ad39
commit 807d8c92b3
2 changed files with 0 additions and 22 deletions

View file

@ -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');

View file

@ -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 = "";