diff --git a/src/app/pages/login/login.component.html b/src/app/pages/login/login.component.html index 916807d8..49303025 100644 --- a/src/app/pages/login/login.component.html +++ b/src/app/pages/login/login.component.html @@ -19,7 +19,7 @@
Cadastre-se
-
+
Login com redes sociais
diff --git a/src/app/pages/login/login.component.spec.ts b/src/app/pages/login/login.component.spec.ts index 3b826f20..13c29094 100644 --- a/src/app/pages/login/login.component.spec.ts +++ b/src/app/pages/login/login.component.spec.ts @@ -122,10 +122,10 @@ describe('LoginComponent', () => { it('should call navigator method when "Login com redes sociais" is clicked', () => { spyOn(component, 'navigator').and.callThrough(); - const loginsocial = fixture.nativeElement.querySelector('.text-blue-brand'); - loginsocial.click(); + const loginSocial = fixture.nativeElement.querySelector('.text-blue-brand'); + loginSocial.click(); - expect(component.navigator).toHaveBeenCalledWith('/login-social'); + expect(component.navigator).toHaveBeenCalledWith('/loginsocial'); }); it('should call login and return an error', () => {