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(''); - expect(sortedHtml(element)).toEqual(''); + scope.url = 'http://localhost/'; + scope.$eval(); + expect(sortedHtml(element)).toEqual(''); }); it('should bind href and merge with other attrs', function() {