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

moduleForModel('project-skill', 'Unit | Model | project skill', {
  // Specify the other units that are required for this test.
  needs: ['model:project', 'model:skill']
});

test('it exists', function(assert) {
  let model = this.subject();
  // let store = this.store();
  assert.ok(!!model);
});

@@ -44,16 +44,70 @@
 -qunit';
+%0Aimport Ember from 'ember';%0A%0Aconst %7B%0A  get,%0A%7D = Ember;
 %0A%0Amodule
@@ -395,12 +395,778 @@
 model);%0A%7D);%0A
+%0Atest('should belong to a project', function(assert) %7B%0A  assert.expect(2);%0A%0A  const projectSkill = this.store().modelFor('project-skill');%0A  const relationship = get(projectSkill, 'relationshipsByName').get('project');%0A%0A  assert.equal(relationship.key, 'project', 'has relationship with project');%0A  assert.equal(relationship.kind, 'belongsTo', 'kind of relationship is belongsTo');%0A%7D);%0A%0Atest('should belong to a skill', function(assert) %7B%0A  assert.expect(2);%0A%0A  const projectSkill = this.store().modelFor('project-skill');%0A  const relationship = get(projectSkill, 'relationshipsByName').get('skill');%0A%0A  assert.equal(relationship.key, 'skill', 'has relationship with skill');%0A  assert.equal(relationship.kind, 'belongsTo', 'kind of relationship is belongsTo');%0A%7D);%0A

update project-skill model test (#541)