commit | 0496423eaed45c86d4ffa051ce62da2b20ad8ebe | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Sat Jan 07 12:53:46 2017 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Sun Jan 08 11:01:50 2017 -0800 |
tree | 77727bf3dd264572f5e79be4697c3448eedf99d3 | |
parent | 45a02602f1b11ce42a23a13de4fe17ca564bdfb8 [diff] [blame] |
Adding relations links to table Change-Id: I5dd2d206a6da7fec163342f54f1143a7783f7758
diff --git a/src/app/datasources/helpers/store.helpers.spec.ts b/src/app/datasources/helpers/store.helpers.spec.ts index 1793a7c..82a5e7a 100644 --- a/src/app/datasources/helpers/store.helpers.spec.ts +++ b/src/app/datasources/helpers/store.helpers.spec.ts
@@ -39,6 +39,12 @@ expect(service.updateCollection).toBeDefined(); }); + + it('should convert a core model name in an URL', () => { + expect(service.urlFromCoreModel('Slice')).toBe('/core/slices'); + expect(service.urlFromCoreModel('Xos')).toBe('/core/xosses'); + }); + describe('when updating a collection', () => { beforeEach(() => {