mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -71,7 +71,7 @@ describe('PeopleSelectorComponent', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should emit an event with the selected users\'s id when userSelected method is invoked', (done) => {
|
||||
it('should emit an event with the selected users id when userSelected method is invoked', (done) => {
|
||||
|
||||
component.peopleIdChange.subscribe((userId) => {
|
||||
expect(userId).toBe(789);
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<div *ngIf="!hasPeople()" class="assigment-count" id="no-people-label">
|
||||
{{ 'ADF_TASK_LIST.DETAILS.PEOPLE.NONE' | translate }}
|
||||
</div>
|
||||
<div *ngIf="isEditMode()" class="add-people" (click)="onAddAssignement()">
|
||||
<div *ngIf="isEditMode()" class="add-people" (click)="onAddAssignment()">
|
||||
<mat-icon class="adf-add-person-icon">person_add</mat-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -105,7 +105,7 @@ describe('PeopleComponent', () => {
|
||||
});
|
||||
}));
|
||||
|
||||
it('should remove pepole involved', async(() => {
|
||||
it('should remove people involved', async(() => {
|
||||
activitiPeopleComponent.removeInvolvedUser(fakeUser);
|
||||
jasmine.Ajax.requests.mostRecent().respondWith({
|
||||
status: 200
|
||||
@@ -119,7 +119,7 @@ describe('PeopleComponent', () => {
|
||||
});
|
||||
}));
|
||||
|
||||
it('should involve pepole', async(() => {
|
||||
it('should involve people', async(() => {
|
||||
activitiPeopleComponent.involveUser(fakeUser);
|
||||
jasmine.Ajax.requests.mostRecent().respondWith({
|
||||
status: 200
|
||||
|
@@ -110,7 +110,7 @@ export class PeopleComponent implements OnInit, AfterViewInit {
|
||||
return this.getDisplayUser(firstName, lastName, '');
|
||||
}
|
||||
|
||||
onAddAssignement() {
|
||||
onAddAssignment() {
|
||||
this.showAssignment = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user