[ADF-3028] i18n support for title service (#3342)

* i18n support for title service

* cleanup tests

* update tests
This commit is contained in:
Denys Vuika
2018-05-18 10:51:13 +01:00
committed by Eugenio Romano
parent b00eb1433e
commit 53cf5acc86
6 changed files with 75 additions and 31 deletions

View File

@@ -26,7 +26,6 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
selector: 'adf-upload-button-test',
template: 'test componente'
})
export class UploadTestComponent extends UploadBase {
constructor(protected uploadService: UploadService,
@@ -234,7 +233,7 @@ describe('UploadBase', () => {
addToQueueSpy = spyOn(uploadService, 'addToQueue');
});
it('should be a mahor version upload if majorVersion is true', () => {
it('should be a major version upload if majorVersion is true', () => {
component.majorVersion = true;
component.versioning = true;
@@ -250,7 +249,7 @@ describe('UploadBase', () => {
}));
});
it('should not be a mahor version upload if majorVersion is false', () => {
it('should not be a major version upload if majorVersion is false', () => {
component.majorVersion = false;
component.versioning = true;