diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js
index 5110c4d6..f093c9a6 100755
--- a/test/ng/compileSpec.js
+++ b/test/ng/compileSpec.js
@@ -541,6 +541,14 @@ describe('$compile', function() {
replace: true,
template: '
| TD |
'
}));
+ directive('replaceWithOption', valueFn({
+ replace: true,
+ template: ''
+ }));
+ directive('replaceWithOptgroup', valueFn({
+ replace: true,
+ template: ''
+ }));
}));
@@ -746,6 +754,20 @@ describe('$compile', function() {
}).not.toThrow();
expect(nodeName_(element)).toMatch(/tfoot/i);
}));
+
+ it('should support templates with root