We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dfdac2 commit 0d71731Copy full SHA for 0d71731
test/markupSpec.js
@@ -54,7 +54,9 @@ describe("markups", function(){
54
55
it('should bind src', function() {
56
compile('<img ng:src="{{url}}" />');
57
- expect(sortedHtml(element)).toEqual('<img ng:bind-attr="{"src":"{{url}}"}"></img>');
+ scope.url = 'http://localhost/';
58
+ scope.$eval();
59
+ expect(sortedHtml(element)).toEqual('<img ng:bind-attr="{"src":"{{url}}"}" src="http://localhost/"></img>');
60
});
61
62
it('should bind href and merge with other attrs', function() {
0 commit comments