Skip to content

Commit

Permalink
chore(ngBind): remove obsolete test
Browse files Browse the repository at this point in the history
this test is not testing what it claims it is.

we don't need it any more
  • Loading branch information
IgorMinar committed Apr 9, 2012
1 parent 0f89383 commit b5406d2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/ng/directive/ngBindSpec.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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'});
}));
}); });




Expand Down

0 comments on commit b5406d2

Please sign in to comment.