Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 28d3126

Browse files
committed
test($templateRequest): fix code for jasmine 1.3
1 parent ad21f8f commit 28d3126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/templateRequestSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe('$templateRequest', function() {
8585
inject(function($rootScope, $templateRequest, $templateCache, $sce) {
8686

8787
// Will throw on any template not in cache.
88-
spyOn($sce, 'getTrustedResourceUrl').and.returnValue(false);
88+
spyOn($sce, 'getTrustedResourceUrl').andReturn(false);
8989

9090
expect(function() {
9191
$templateRequest('tpl.html'); // should go through $sce

0 commit comments

Comments
 (0)