[ADF-3591] spellcheck support for code (#3827)

* setup spellcheck
This commit is contained in:
Denys Vuika
2018-10-23 15:05:38 +01:00
committed by Eugenio Romano
parent 53d96679ea
commit e39a2b149b
262 changed files with 1561 additions and 1005 deletions

View File

@@ -174,14 +174,14 @@ describe('Activiti Task filter Service', () => {
it('should add a filter', (done) => {
let filterFake = new FilterRepresentationModel({
name: 'FakeNameFilter',
assignment: 'fake-assignement'
assignment: 'fake-assignment'
});
service.addFilter(filterFake).subscribe((res: FilterRepresentationModel) => {
expect(res).toBeDefined();
expect(res.id).not.toEqual(null);
expect(res.name).toEqual('FakeNameFilter');
expect(res.filter.assignment).toEqual('fake-assignement');
expect(res.filter.assignment).toEqual('fake-assignment');
done();
});
@@ -189,7 +189,7 @@ describe('Activiti Task filter Service', () => {
'status': 200,
contentType: 'application/json',
responseText: JSON.stringify({
id: '2233', name: 'FakeNameFilter', filter: { assignment: 'fake-assignement' }
id: '2233', name: 'FakeNameFilter', filter: { assignment: 'fake-assignment' }
})
});
});

View File

@@ -466,7 +466,7 @@ describe('Activiti TaskList Service', () => {
let taskId = '1';
let filterFake = new FilterRepresentationModel({
name: 'FakeNameFilter',
assignment: 'fake-assignement',
assignment: 'fake-assignment',
filter: {
processDefinitionKey: '1',
assignment: 'fake',

View File

@@ -342,7 +342,7 @@ export class TaskListService {
}
/**
* Unclaims a task for the current user.
* Un-claims a task for the current user.
* @param taskId ID of the task to unclaim
* @returns Null response notifying when the operation is complete
*/