aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/directive/booleanAttrsSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/directive/booleanAttrsSpec.js')
-rw-r--r--test/ng/directive/booleanAttrsSpec.js6
1 files changed, 3 insertions, 3 deletions
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('<div ng-src="some/{{id}}"></div>')($rootScope);
+ var element = $compile('<div ng-src="{{id}}"></div>')($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);
}));