mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
removed dissabled tests which are now outdated
This commit is contained in:
parent
454626ad39
commit
807d8c92b3
2 changed files with 0 additions and 22 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue