import { expect } from 'chai';
import { it, describe } from 'mocha';
import { setupModelTest } from 'ember-mocha';

describe('Unit | Model | contribution', function() {
  setupModelTest('contribution', {
    // Specify the other units that are required for this test.
      needs: ['model:user']
  });

  // Replace this with your real tests.
  it('exists', function() {
    let model = this.subject();
    // var store = this.store();
    expect(model).to.be.ok;
  });
});

import { expect } from 'chai';
import { it, describe } from 'mocha';
import { setupModelTest } from 'ember-mocha';

describe('Unit | Model | contribution', function() {
  setupModelTest('contribution', {
    // Specify the other units that are required for this test.
    needs: [ 'model:user','model:challenge' ]
  });

  // Replace this with your real tests.
  it('exists', function() {
    let model = this.subject();
    // var store = this.store();
    expect(model).to.be.ok;
  });
});

Fix missing needs in contribution test
Fix missing needs in contribution test
