1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-30 00:00:13 +01:00
VILLASweb/tests/unit/serializers/user-test.js
Markus Grigull 548bbb5e15 Add project create, delete and store in user data
Change adapter and serializer to REST api.
Add session-user to get logged-in user in every controller/route
Change models to async relationships, this way the data is only loaded when
requested.
2016-06-27 23:22:05 +02:00

15 lines
402 B
JavaScript

import { moduleForModel, test } from 'ember-qunit';
moduleForModel('user', 'Unit | Serializer | user', {
// Specify the other units that are required for this test.
needs: ['serializer:user']
});
// Replace this with your real tests.
test('it serializes records', function(assert) {
let record = this.subject();
let serializedRecord = record.serialize();
assert.ok(serializedRecord);
});