docs(http): fix MockBackend imports

Fixes #5639

Closes #5651
This commit is contained in:
cexbrayat
2015-12-06 10:35:39 +01:00
committed by Jeremy Elbourn
parent 4b1618cb03
commit e6170e8ac3
3 changed files with 8 additions and 4 deletions

View File

@ -98,7 +98,8 @@ export class MockConnection implements Connection {
* ### Example
*
* ```
* import {MockBackend, DefaultOptions, Http} from 'angular2/http';
* import {DefaultOptions, Http} from 'angular2/http';
* import {MockBackend} from 'angular2/http/testing';
* it('should get some data', inject([AsyncTestCompleter], (async) => {
* var connection;
* var injector = Injector.resolveAndCreate([