diff --git a/documentation/hexagonal-architecture.md b/documentation/hexagonal-architecture.md index 6e12f4dcbbd..59642ff412a 100644 --- a/documentation/hexagonal-architecture.md +++ b/documentation/hexagonal-architecture.md @@ -41,7 +41,7 @@ The very clear separation of concern enforced by the architecture eases automati ### Shorten feedback loops -In software development if you want to go faster (like really faster) you'll have to go for short feedbacks loops. If you have a button that can tell you in a few seconds that your solution is still behaving as intended you'll be way faster than checking that by hand after any update (in fact, you won't check by hand that after any update...). +In software development if you want to go faster (like really faster) you'll have to go for short feedback loops. If you have a button that can tell you in a few seconds that your solution is still behaving as intended you'll be way faster than checking that by hand after any update (in fact, you won't check by hand that after any update...). Let's be honest here: hexagonal architecture won't help for the fastest feedback loops which are pair feedback in [pair](https://en.wikipedia.org/wiki/Pair_programming) or [mob programming](https://en.wikipedia.org/wiki/Mob_programming). diff --git a/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.spec.ts.mustache b/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.spec.ts.mustache index ebe82d39426..be66d5b6f7c 100644 --- a/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.spec.ts.mustache +++ b/src/main/resources/generator/client/angular/security/jwt/src/main/webapp/app/auth/account.service.spec.ts.mustache @@ -70,7 +70,7 @@ describe('Account Service', () => { httpMock.expectOne({ method: 'GET' }).flush('404 error', { status: 404, statusText: 'Not Found' }); }); - it('should call /account only once if last call have not returned', () => { + it('should call /account only once if last call has not returned', () => { service.identity().subscribe(); service.identity().subscribe(); @@ -101,7 +101,7 @@ describe('Account Service', () => { expect(hasAuthority).toBe(false); }); - it('should return false if user is logged and has not authority', () => { + it('should return false if user is logged and has no authority', () => { service.authenticate(accountWithAuthorities([Authority.USER])); const hasAuthority = service.hasAnyAuthority(Authority.ADMIN); @@ -124,7 +124,7 @@ describe('Account Service', () => { expect(hasAuthority).toBeFalsy(); }); - it('should return false if user is logged and has not authority', () => { + it('should return false if user is logged and has no authority', () => { service.authenticate(accountWithAuthorities([Authority.USER])); const hasAuthority = service.hasAnyAuthority([Authority.ADMIN]);