test(http): remove stale SpyObserver

Closes #5134
This commit is contained in:
Foxandxss 2015-11-04 23:53:21 +01:00 committed by Jeremy Elbourn
parent 35e32bbea1
commit 69996b1740
1 changed files with 1 additions and 14 deletions

View File

@ -8,8 +8,7 @@ import {
iit,
inject,
it,
xit,
SpyObject
xit
} from 'angular2/testing_internal';
import {Injector, provide} from 'angular2/core';
import {MockBackend, MockConnection} from 'angular2/src/http/backends/mock_backend';
@ -32,18 +31,6 @@ import {
import {Observable} from 'rxjs/Observable';
import {Subject} from 'rxjs/Subject';
class SpyObserver extends SpyObject {
onNext: Function;
onError: Function;
onCompleted: Function;
constructor() {
super();
this.onNext = this.spy('onNext');
this.onError = this.spy('onError');
this.onCompleted = this.spy('onCompleted');
}
}
export function main() {
describe('injectables', () => {
var url = 'http://foo.bar';