mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
19 lines
301 B
JavaScript
19 lines
301 B
JavaScript
'use strict';
|
|
|
|
describe('$document', function() {
|
|
var scope;
|
|
|
|
beforeEach(function() {
|
|
scope = angular.scope();
|
|
});
|
|
|
|
|
|
afterEach(function() {
|
|
dealoc(scope);
|
|
});
|
|
|
|
|
|
it("should inject $document", function() {
|
|
expect(scope.$service('$document')).toEqual(jqLite(document));
|
|
});
|
|
});
|