From 0960cd0613d0b3501ad724885492dddc7fc4c42a Mon Sep 17 00:00:00 2001 From: Chirayu Krishnappa Date: Mon, 24 Jun 2013 18:37:51 -0700 Subject: test($compile): fix IE specific test. --- test/ng/directive/booleanAttrsSpec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/ng/directive/booleanAttrsSpec.js b/test/ng/directive/booleanAttrsSpec.js index f2ea003c..221c0411 100644 --- a/test/ng/directive/booleanAttrsSpec.js +++ b/test/ng/directive/booleanAttrsSpec.js @@ -131,15 +131,15 @@ describe('ngSrc', function() { // then calling element.setAttribute('src', 'foo') doesn't do anything, so we need // to set the property as well to achieve the desired effect - var element = $compile('
')($rootScope); + var element = $compile('
')($rootScope); $rootScope.$digest(); - expect(element.prop('src')).toEqual('some/'); + expect(element.prop('src')).toBeUndefined(); $rootScope.$apply(function() { $rootScope.id = 1; }); - expect(element.prop('src')).toEqual('some/1'); + expect(element.prop('src')).toEqual('1'); dealoc(element); })); -- cgit v1.2.3