From 67ad632543c8c84b40833a48443bf10795550a8a Mon Sep 17 00:00:00 2001 From: ABNER SILVA DE OLIVEIRA Date: Mon, 21 Mar 2016 11:31:27 -0300 Subject: [PATCH] Renamed to add suffix Component on ProfileHomeComponent reference --- src/app/profile/profile-home.component.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/profile/profile-home.component.spec.ts b/src/app/profile/profile-home.component.spec.ts index 70476ac..51f75f3 100644 --- a/src/app/profile/profile-home.component.spec.ts +++ b/src/app/profile/profile-home.component.spec.ts @@ -1,5 +1,5 @@ import {quickCreateComponent} from "../../spec/helpers"; -import {ProfileHome} from "./profile-home.component"; +import {ProfileHomeComponent} from "./profile-home.component"; describe("Components", () => { describe("Profile Home Component", () => { @@ -30,7 +30,7 @@ describe("Components", () => { it("transition to profile homepage when there is a homepage setted", done => { homePageResponse.resolve({ data: { article: { path: "something" } } }); - let component: ProfileHome = new ProfileHome(profileServiceMock, $state); + let component: ProfileHomeComponent = new ProfileHomeComponent(profileServiceMock, $state); $rootScope.$apply(); expect(profileServiceMock.getCurrentProfile).toHaveBeenCalled(); expect(profileServiceMock.getHomePage).toHaveBeenCalled(); @@ -44,7 +44,7 @@ describe("Components", () => { it("transition to profile info page when there is no homepage setted", done => { homePageResponse.resolve({ data: {} }); - let component: ProfileHome = new ProfileHome(profileServiceMock, $state); + let component: ProfileHomeComponent = new ProfileHomeComponent(profileServiceMock, $state); $rootScope.$apply(); expect(profileServiceMock.getCurrentProfile).toHaveBeenCalled(); expect(profileServiceMock.getHomePage).toHaveBeenCalled(); -- libgit2 0.21.2