diff --git a/projects/igniteui-angular/src/lib/data-operations/data-util.spec.ts b/projects/igniteui-angular/src/lib/data-operations/data-util.spec.ts index 4b1468c337b..e0a1603c3e5 100644 --- a/projects/igniteui-angular/src/lib/data-operations/data-util.spec.ts +++ b/projects/igniteui-angular/src/lib/data-operations/data-util.spec.ts @@ -487,9 +487,9 @@ const testMerging = () => { describe('Test merging', () => { it('Should merge add transactions correctly', () => { const data = SampleTestData.personIDNameData(); - const addRow4 = { ID: 4, IsDev: true, Name: 'Peter' }; - const addRow5 = { ID: 5, IsDev: true, Name: 'Mimi' }; - const addRow6 = { ID: 6, IsDev: false, Name: 'Pedro' }; + const addRow4 = { ID: 4, IsEmployed: true, Name: 'Peter' }; + const addRow5 = { ID: 5, IsEmployed: true, Name: 'Mimi' }; + const addRow6 = { ID: 6, IsEmployed: false, Name: 'Pedro' }; const transactions: Transaction[] = [ { id: addRow4.ID, newValue: addRow4, type: TransactionType.ADD }, { id: addRow5.ID, newValue: addRow5, type: TransactionType.ADD }, diff --git a/projects/igniteui-angular/src/lib/grids/grid/column.spec.ts b/projects/igniteui-angular/src/lib/grids/grid/column.spec.ts index cf619121ac5..11c4781b9aa 100644 --- a/projects/igniteui-angular/src/lib/grids/grid/column.spec.ts +++ b/projects/igniteui-angular/src/lib/grids/grid/column.spec.ts @@ -135,7 +135,7 @@ describe('IgxGrid - Column properties #grid', () => { const cell = grid.getCellByColumn(i, 'ID'); expect(cell.nativeElement.textContent).toMatch(formatter(cell.value)); - const cellBool = grid.gridAPI.get_cell_by_index(i, 'IsDev'); + const cellBool = grid.gridAPI.get_cell_by_index(i, 'IsEmployed'); expect(cellBool.nativeElement.textContent).toMatch(boolFormatter(cellBool.value)); } }); @@ -173,11 +173,11 @@ describe('IgxGrid - Column properties #grid', () => { grid.moveColumn(grid.columnList.first, grid.columnList.last); fix.detectChanges(); - expect(grid.columnList.first.field).toMatch('IsDev'); + expect(grid.columnList.first.field).toMatch('IsEmployed'); expect(grid.columnList.last.field).toMatch('ID'); headers = fix.debugElement.queryAll(By.css(COLUMN_HEADER_CLASS)); - expect(headers[0].nativeElement.textContent).toMatch('IsDev'); + expect(headers[0].nativeElement.textContent).toMatch('IsEmployed'); expect(headers[1].nativeElement.textContent).toMatch('Name'); }); diff --git a/projects/igniteui-angular/src/lib/test-utils/sample-test-data.spec.ts b/projects/igniteui-angular/src/lib/test-utils/sample-test-data.spec.ts index 03eecd9909e..8975dfa386f 100644 --- a/projects/igniteui-angular/src/lib/test-utils/sample-test-data.spec.ts +++ b/projects/igniteui-angular/src/lib/test-utils/sample-test-data.spec.ts @@ -139,9 +139,9 @@ export class SampleTestData { /* Data fields: ID: number, Name: string; 3 items. */ public static personIDNameData = () => ([ - { ID: 1, IsDev: true, Name: 'Johny' }, - { ID: 2, IsDev: true, Name: 'Sally' }, - { ID: 3, IsDev: false, Name: 'Tim' }, + { ID: 1, IsEmployed: true, Name: 'Johny' }, + { ID: 2, IsEmployed: true, Name: 'Sally' }, + { ID: 3, IsEmployed: false, Name: 'Tim' }, ]); /* Data fields: FirstName: string, LastName: string, age:number; 3 items. */ diff --git a/projects/igniteui-angular/src/lib/test-utils/template-strings.spec.ts b/projects/igniteui-angular/src/lib/test-utils/template-strings.spec.ts index 1eabcc4df0a..0eb5e74c267 100644 --- a/projects/igniteui-angular/src/lib/test-utils/template-strings.spec.ts +++ b/projects/igniteui-angular/src/lib/test-utils/template-strings.spec.ts @@ -217,7 +217,7 @@ export class ColumnDefinitions { public static idNameFormatter = ` - + `;