import { moduleForModel, test } from 'ember-qunit';

moduleForModel('notification', 'Unit | Model | notification', {
  // 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);
});

import { moduleForModel, test } from 'ember-qunit';

moduleForModel('notification', 'Unit | Model | notification', {
  needs: []
});

test('it exists', function (assert) {
  assert.expect(1);

  const model = this.subject();

  assert.ok(!!model);
});

test('it should have a creation date', function (assert) {
  assert.expect(1);

  const model = this.subject({ created: new Date() });

  assert.equal(model.get('created'), model.get('creationDate'));
});

Add basic unit test for notification model
Add basic unit test for notification model

Reviewers: asteinlein

Reviewed By: asteinlein

Differential Revision: http://dev.e5r.no/D3847
