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); }));