angular.js/test/service/documentSpec.js
Misko Hevery 48697a2b86 refactor(injector): turn scope into a service
- turn scope into a $rootScope service.
- injector is now a starting point for creating angular application.
- added inject() method which wraps jasmine its/beforeEach/afterEach,
  and which allows configuration and injection of services.
- refactor tests to use inject() where possible

BREAK:
- removed angular.scope() method
2011-11-14 16:39:31 -08:00

9 lines
173 B
JavaScript

'use strict';
describe('$document', function() {
it("should inject $document", inject(function($document) {
expect($document).toEqual(jqLite(document));
}));
});