diff options
| -rw-r--r-- | test/markupSpec.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/markupSpec.js b/test/markupSpec.js index 1dd6f939..cb8ee23f 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -54,7 +54,9 @@ describe("markups", function(){ it('should bind src', function() { compile('<img ng:src="{{url}}" />'); - expect(sortedHtml(element)).toEqual('<img ng:bind-attr="{"src":"{{url}}"}"></img>'); + scope.url = 'http://localhost/'; + scope.$eval(); + expect(sortedHtml(element)).toEqual('<img ng:bind-attr="{"src":"{{url}}"}" src="http://localhost/"></img>'); }); it('should bind href and merge with other attrs', function() { |
