Formatting labels
Change-Id: I131f27f2f6fcd5cd76f4fbc13c632f7cd1aa17d0
diff --git a/src/app/datasources/stores/model.store.spec.ts b/src/app/datasources/stores/model.store.spec.ts
index 48798df..797685b 100644
--- a/src/app/datasources/stores/model.store.spec.ts
+++ b/src/app/datasources/stores/model.store.spec.ts
@@ -57,7 +57,7 @@
WebSocket = _WebSocket_;
// ModelRest will call the backend
- httpBackend.expectGET(`${AppConfig.apiEndpoint}/core/tests`)
+ httpBackend.expectGET(`${AppConfig.apiEndpoint}/core/samples`)
.respond(queryData);
}));
@@ -67,7 +67,7 @@
it('the first event should be the resource response', (done) => {
let event = 0;
- service.query('test')
+ service.query('sample')
.subscribe(collection => {
event++;
if (event === 2) {
@@ -83,7 +83,7 @@
describe('when a web-socket event is received for that model', () => {
it('should update the collection', (done) => {
let event = 0;
- service.query('test')
+ service.query('sample')
.subscribe(
collection => {
event++;
@@ -102,7 +102,7 @@
);
window.setTimeout(() => {
WebSocket.next({
- model: 'test',
+ model: 'sample',
msg: {
changed_fields: ['id'],
object: {id: 3, name: 'baz'},