mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-04 21:24:42 +00:00
chore(ngBind): remove obsolete test
this test is not testing what it claims it is. we don't need it any more
This commit is contained in:
parent
0f89383d98
commit
b5406d276d
1 changed files with 0 additions and 7 deletions
|
|
@ -45,13 +45,6 @@ describe('ngBind*', function() {
|
||||||
$rootScope.$digest();
|
$rootScope.$digest();
|
||||||
expect(element.text()).toEqual('-0false');
|
expect(element.text()).toEqual('-0false');
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
it('should render object as JSON ignore $$', inject(function($rootScope, $compile) {
|
|
||||||
element = $compile('<div>{{ {key:"value", $$key:"hide"} }}</div>')($rootScope);
|
|
||||||
$rootScope.$digest();
|
|
||||||
expect(fromJson(element.text())).toEqual({key:'value'});
|
|
||||||
}));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue