mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-21 16:45:36 +08: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:
@@ -45,13 +45,6 @@ describe('ngBind*', function() {
|
||||
$rootScope.$digest();
|
||||
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'});
|
||||
}));
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user