Mathijs den Burger pushed to branch feature/CHANNELMGR-1707 at cms-community / 
hippo-addon-channel-manager


Commits:
c1d9bcd8 by Mathijs den Burger at 2018-02-09T12:36:12+01:00
CHANNELMGR-1707 Correct conjugation in test descriptions

- - - - -


1 changed file:

- frontend-ng/src/app/services/hstComponent.service.spec.js


Changes:

=====================================
frontend-ng/src/app/services/hstComponent.service.spec.js
=====================================
--- a/frontend-ng/src/app/services/hstComponent.service.spec.js
+++ b/frontend-ng/src/app/services/hstComponent.service.spec.js
@@ -91,7 +91,7 @@ describe('HstComponentService', () => {
       expect(HstComponentService.setPathParameter).toHaveBeenCalledWith('id', 
'variant', 'name', 'selected-path', 'basePath');
     });
 
-    it('return a promise that is resolved after the picked path is set', 
(done) => {
+    it('returns a promise that is resolved after the picked path is set', 
(done) => {
       spyOn(HstComponentService, 
'setPathParameter').and.returnValue($q.resolve());
 
       expect(pickPathPromise).toBeDefined();
@@ -103,7 +103,7 @@ describe('HstComponentService', () => {
       $rootScope.$digest();
     });
 
-    it('return a promise that is rejected if setting the picked path fails', 
(done) => {
+    it('returns a promise that is rejected if setting the picked path fails', 
(done) => {
       spyOn(HstComponentService, 
'setPathParameter').and.returnValue($q.reject());
 
       pickPathPromise.catch(() => {



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/c1d9bcd839e6d00bd877dd2ba5358633a484cd31

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/c1d9bcd839e6d00bd877dd2ba5358633a484cd31
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to