56434: By.css call by tag instead of class refactoring

This commit is contained in:
Kristof De Langhe
2018-10-26 13:57:36 +02:00
parent e39879b762
commit 1126af6b43
6 changed files with 9 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ describe('MetadataValuesComponent', () => {
});
it('should contain separators equal to the amount of metadata values minus one', () => {
const separators = fixture.debugElement.queryAll(By.css('.metadata-value-separator'));
const separators = fixture.debugElement.queryAll(By.css('span>span'));
expect(separators.length).toBe(mockMetadata.length - 1);
});