aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/compileSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/compileSpec.js')
-rw-r--r--test/ng/compileSpec.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js
index 74b1e9e3..9d0acc22 100644
--- a/test/ng/compileSpec.js
+++ b/test/ng/compileSpec.js
@@ -2479,6 +2479,10 @@ describe('$compile', function() {
$rootScope.testUrl = "mailto:foo@bar.com";
$rootScope.$apply();
expect(element.attr('href')).toBe('mailto:foo@bar.com');
+
+ $rootScope.testUrl = "file:///foo/bar.html";
+ $rootScope.$apply();
+ expect(element.attr('href')).toBe('file:///foo/bar.html');
}));