blob: bd92023d1933f80e6a681a3538e649f9c2b31b3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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));
});
});
|