aboutsummaryrefslogtreecommitdiffstats
path: root/test/ngMock/angular-mocksSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ngMock/angular-mocksSpec.js')
-rw-r--r--test/ngMock/angular-mocksSpec.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ngMock/angular-mocksSpec.js b/test/ngMock/angular-mocksSpec.js
index 62190072..f4f6a346 100644
--- a/test/ngMock/angular-mocksSpec.js
+++ b/test/ngMock/angular-mocksSpec.js
@@ -950,6 +950,13 @@ describe('ngMock', function() {
});
});
});
+
+
+ describe('$rootElement', function() {
+ it('should create mock application root', inject(function($rootElement) {
+ expect($rootElement.text()).toEqual('');
+ }));
+ });
});