mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-10 17:15:26 +08:00
fix test which fails on CI build, because the image has size
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user