Geostat model
authorChloe Laisne <chloe.laisne@gmail.com>
Fri, 23 Sep 2016 15:56:38 +0200
changeset 285 6d8e7e6dc83c
parent 284 12448de16a63
child 286 57762c0b601e
Geostat model
cms/app-client/app/models/geostat.js
cms/app-client/tests/unit/models/geostat-test.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cms/app-client/app/models/geostat.js	Fri Sep 23 15:56:38 2016 +0200
@@ -0,0 +1,7 @@
+import DS from 'ember-data';
+
+export default DS.Model.extend({
+
+    count: DS.attr('number')
+
+});
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cms/app-client/tests/unit/models/geostat-test.js	Fri Sep 23 15:56:38 2016 +0200
@@ -0,0 +1,12 @@
+import { moduleForModel, test } from 'ember-qunit';
+
+moduleForModel('geostat', 'Unit | Model | geostat', {
+  // Specify the other units that are required for this test.
+  needs: []
+});
+
+test('it exists', function(assert) {
+  let model = this.subject();
+  // let store = this.store();
+  assert.ok(!!model);
+});