mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-17 11:11:05 +00:00
fix test which fails on CI build, because the image has size
This commit is contained in:
parent
6f8940c5d0
commit
e160944bfa
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ describe("markups", function(){
|
||||||
compile('<img ng:src="{{url}}" />');
|
compile('<img ng:src="{{url}}" />');
|
||||||
scope.url = 'http://localhost/';
|
scope.url = 'http://localhost/';
|
||||||
scope.$eval();
|
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() {
|
it('should bind href and merge with other attrs', function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue