chore(test): remove deprecated RootTestComponent

Uses of `RootTestComponent` should be migrated to `ComponentFixture`.
This commit is contained in:
Julie Ralph
2015-12-02 11:54:10 -08:00
committed by Jeremy Elbourn
parent c7242a39d2
commit ad99199d50
7 changed files with 13 additions and 20 deletions
@@ -8,7 +8,7 @@ import {
inject,
it,
TestComponentBuilder,
RootTestComponent,
ComponentFixture,
xit,
} from 'angular2/testing_internal';
@@ -32,7 +32,7 @@ import {
asyncRouteDataCmp
} from './fixture_components';
function getLinkElement(rtc: RootTestComponent) {
function getLinkElement(rtc: ComponentFixture) {
return rtc.debugElement.componentViewChildren[0].nativeElement;
}
@@ -8,7 +8,7 @@ import {
inject,
it,
TestComponentBuilder,
RootTestComponent,
ComponentFixture,
xit,
} from 'angular2/testing_internal';
@@ -19,7 +19,7 @@ import {Router, Route, Location} from 'angular2/router';
import {HelloCmp, UserCmp, TeamCmp, ParentCmp, ParentWithDefaultCmp} from './fixture_components';
function getLinkElement(rtc: RootTestComponent) {
function getLinkElement(rtc: ComponentFixture) {
return rtc.debugElement.componentViewChildren[0].nativeElement;
}