From 0d717310fd307cfc192b87f5d825c2963db25fa1 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 21 Sep 2010 10:28:26 +0200 Subject: fixed test for ng:src which fails on IE, since IE treats undefined src as url to the current page. --- test/markupSpec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.3