fix test which fails on CI build, because the image has size

This commit is contained in:
Misko Hevery 2011-02-19 20:33:54 -08:00
parent 6f8940c5d0
commit e160944bfa

View file

@ -93,7 +93,7 @@ describe("markups", function(){
compile('<img ng:src="{{url}}" />');
scope.url = 'http://localhost/';
scope.$eval();
expect(sortedHtml(element)).toEqual('<img ng:bind-attr="{"src":"{{url}}"}" src="http://localhost/"></img>');
expect(element.attr('src')).toEqual('http://localhost/');
});
it('should bind href and merge with other attrs', function() {